EXP drive issues

I am just starting to work with VEXcode EXP, and I am having trouble getting the robots to turn properly using the Drivetrain and associated blocks . I had found the following issues:
-“turn right” and “turn to heading 90” always make the robot spin CCW, regardless of which motor is designated as left and which motor is designated as right. (Surely this is a bug?)
image
-as a result, the robot never stops turning (even when the heading reaches 90), whereas if I hold the robot in the air and spin it clockwise, the wheels do stop when the angle reaches 90.

I am displaying the BrainInterial heading and Drive rotation on the brain to verify the inertial sensing is working, and the issue is appearing on different robots.

Are others experiencing this issue, or is there something in the setup I am doing wrong?

Check the motor setup (you might have to reverse the direction of one of your motors).

I recreated your code and it worked perfectly for me. Some simple things to check:

  • Do the motors work properly if you go through the settings menu on the brain to test them?
  • Did you get a good download of the code to the robot?
  • Do you have the correct motor ports selected for the drive train motors?
  • Did you try deleting all the programs through the Brain menu?
  • Did you try a factory reset through the Brain menu?
3 Likes

Are both motors definitely working and connected to.these ports?

1 Like

I appreciate the responses. After following those suggestions and further experimentation, I found that by by switching the left and right motors, and setting the Drivetrain arrow to point down, the robot worked as expected. No combination would work for me with the Drivetrain arrow pointing up. (This explains my previous failures, since in my previous experiments the arrow was always up.)

For other newbies like me, I found that by switching the wires to the drive motors (instead of reversing the Drivetrain arrow), I could reverse the direction of the robot and have it work properly.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.