Preseason Lesson6
From 1511Wookiee
Jump to navigationJump to search
Turbo and Slow speed
At the end of Lesson 4 you had had the joystick controlling the speed of the motor, by mapping the joystick position directly to the motor speed.
That is full speed, or what we call "Turbo" speed.
Most of the time we do not run at that speed.
There are other times we want to run at slower speed to have better control over the robot, what we call "Slow" speed.
You want the trigger to control normal speed.
If button 6 is pressed, then you want the motor to go "Turbo" speed.
If button 7 is pressed, then you want the motor to go "Slow" speed.
To keep this exersice simple
- normal speed is running the motor at 1/2 the josystick value
- "Turbo" is mapping the joystick directly to the motor speed.
- "Slow" is running the motor at 1/4 the joystick value