How do you program a robot to divide a joystick value in half? I.E. so when the joystick is full forwards it goes half speed or when it is half forward make it go at quarter speed. Same with reverse. Thanks in advance.
Does anyone have any suggestions? anyone at all?
You mean like this?
while ( 1 )
{
var = GetRxInput ( 1 , 1 ) ;
var = (var - 127) / 2 ;
SetMotor ( 1 , var + 127 ) ;
}