I am trying to change the speed of my driving motors in VexCode Text. I know how to change the speed of the motors in the arm and the claw and other parts of the robot, but I can’t figure out how to input it for drive. Can any of you guys help me out?
What’s your code? It helps to see it
I use a define the speed as a variable then use the variable as the motor. Cant explain it rn and unable to access computer.
FrontLeftDriveMotor.spin(vex::directionType::fwd, Controller1.Axis3.position(), vex::velocityUnits::pct);
BackLeftDriveMotor.spin(vex::directionType::fwd, Controller1.Axis3.position(), vex::velocityUnits::pct);
FrontRightDriveMotor.spin(vex::directionType::fwd, Controller1.Axis2.position(), vex::velocityUnits::pct);
BackRightDriveMotor.spin(vex::directionType::fwd, Controller1.Axis2.position(), vex::velocityUnits::pct);