|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: [FTC]: Slow Down Max Speed!!
The code i put above would scale the input to the output. To limit it without scaling, do something like this:
Code:
if(vexRT[Ch1]>80){
motor[port1] = 80;
}else if(vexRT[Ch1]<-80){
motor[port1] = -80;
}else{
motor[port1] = vexRT[Ch1];
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: January Run Down and New FTC Pictures | ttldomination | FIRST Tech Challenge | 6 | 04-02-2009 13:18 |
| Slow down teh motors! | brennerator | Programming | 21 | 18-01-2007 23:30 |
| Cheapest and easiest way to slow down a motor | sanddrag | Technical Discussion | 41 | 21-12-2005 07:26 |
| speed controller max speed | Team 668 | Programming | 15 | 13-02-2005 14:05 |
| Segway max speed? | Morgoth | Dean Kamen's Inventions | 2 | 15-04-2003 20:11 |