Urgent Programming Help Needed!

Help! Our robot programming for the user-control period is going well, except for one problem. First of all, our robot goes very, very slow when driving backward. Compared to going forwards, it’s about 1/2 of the speed. Does anyone have any suggestions? This is semi-urgent, so please reply asap. Our robot is the crunchbot model. Here’s the code:

Drivetrain.setDriveVelocity(90, percent); 

SpineMotor.setVelocity(Controller1.Axis2.position(),percent);
SpinnyThing.setVelocity(Controller1.Axis2.position(),percent);
Drivetrain.setTurnVelocity(75, percent);

??? I can’t think of anything from this code that would cause that problem. If you could post the full code that would help. Also, make sure there aren’t any mechanical issues, and that the motors aren’t burned out.

3 Likes

That was the full code, but we figured out that it was actually a mechanical problem. Thank for your time, though.

I don’t even want to know what kind of mechanical problem could have caused that.

9 Likes