
Jayutmb
USA
Asked
— Edited
I know it was brought up about a year ago... I have looked for any updates and have not found any (sure i am missing it ) but has anyone found a good solution to controlling the speed of the sabertooth without having to manually recode the send serial command for the speed? Ex.Forward(200,1200) is the same as Forward(100,1200) currently.
Example....
$Motor_one=127 #full speed
$Motor_two=255 #full speed
$Motor_one=95 #half speed
$Motor_two=223 #half speed
sendserial(port, baud, $Motor_one)
sendserial(port, baud, $Motor_two)
just change the values of $Motor_one and $Motor_two to slow down or speed up the motors... Variables are global so changing these values in other scripts will change the speed (immediately) in the custom movement panel....