I am a MS teacher trying to get our robots to slow down. We are using Coding Studio C++ because we want to compete. What is the code for changing Axis 2 and 3 on the controllers to instead go from 0-100 percent to 0-50%. We need to slow these robots down. In RobotC, you used to be able to cut the 127 in half and adjust the sensitivity. Thanks!
Here is our example of the drive code only:
void usercontrol( void ) {
while(true){
Rightwheel.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
Leftwheel.spin(vex::directionType::fwd, Controller1.Axis2.value(), vex::velocityUnits::pct);