Issue with motor group configuration

We have configured 2 motors within a motor group. The 2 motors face each other so one of the motors is configured to rotate in the reverse direction

We have set the velocity to 100% .
After these configurations, when we try to run the motors in one direction(using the controller), it works as expected (at 100% velocity )but when we try to run the motor in the reverse direction, the motor behavior is unpredictable - it rotates very slowly and then reverses the direction automatically.
It would rotate properly in one direction but unpredictably in the reverse direction.

Could you send a picture of the bot and a picture of the code? Without those, no one can help you.

2 Likes

If you are trying to do user control this could be your issue.

Set up of the controller using axis is already giving your joy sticks full velocity depending on where your sticks are. If you are universally telling the motors to be 100%, it will go 100%…. Forward…. So your sticks moving backward will get confused.

My teams had similar issues, once we removed the universal set velocity and put the set velocities within their perspective slots in the code we were fine.

If you are controlling the motor group by using the joysticks, set velocity will not impact in drive mode - only in autonomous program mode.

If you are using buttons to spin forward/reverse, set motor group velocity will affect speed.

Uploading pictures might help. Is there a mechanical issue where the motors spin freely in one direction (100%); but something is causing friction (drag, torque, bending) in the opposite direction? Our team had a combine last year - one direction fast, other direction slow — a gear would torqued sideways and bind (slow down) the reverse direction to about half the speed.

My code had a forever loop and that was causing this issue. Thank you all for your suggestion and help.

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