Hey Vex community. I was building a scissor lift bot with a claw attached to it for a new game. However, when I tried running my program, ALL of the motors only went in one direction, regardless of which button I pressed. I’ve already tried the following:
-Clean new code
-Resetting controller/Brain
-Banging my head against the wall
-Rewiring everything
-Replacing motors
-Grabbing a foam tile to hit my head on
I’m still trying to figure out the problem. The motors, controller, and Brain are in good condition and up to date. Does anyone have a suggestion? If so, I would greatly appreciate it if you could reply.
Yes, code would help to be sure, but when I’ve seen programmers with this issue before it was due to double reversing… if you’re using your joysticks as the input, they provide positive and negative values per axis. That being the case, you should always feed that value to the motor’s forward direction. If you set the motor’s reverse velocity to -50%, then that is the same as forward 50%, which could cause the confusion you’re seeing now.
In summary, if you’re setting positive and negative values to the motor for forward and reverse motion, always set that as the motor’s forward velocity.
Good to know. Thank you three for the interesting advice (especially that last bit). Unfortunately, I am a new user, so I cannot upload anything yet. Any thoughts on how to quickly bypass this restraint?