Help with motor drift

Hello, I’m having an issue with motor drift where in both autonomous and driver control the whole drivetrain appears to drift to the left and this is annoying to deal with especially in autonomous so any help would be appreciated.

Hi there, (your post should probably be under drivetrain and building tips) you need to provide more information about your robot. A photograph of the underside would probably be quickest so we can see what the drivetrain layout looks like.
But, I’m going to make a guess: you’ve got omniwheels in line with each other on the left and right of your base. In this case, there’s nothing stopping it drifting sideways because the omniwheels don’t provide lateral constraint. Push it sideways while it’s supposed to be stationary and you’ll see. In this case, minor distortions in the build either as static structure errors or bending during application of forces can deflect the drive of the wheels slightly and allow that free sideways mode to go wherever it conspires.
There are a million ways you can go to fix it, too, and assessing that would take more information from you anyway, so go ahead and post pics and description :slight_smile:

2 Likes

2 really simple things

  1. Your shafts may not be in the motors. Go to devices and run each motor to check.
  2. One side may have a lot of friction. There are lots of reasons for this. EX: shaft collars too tight, no bearings, etc.
1 Like

This is almost always due to friction, seeing as it happens both during your driver control and autonomous (assuming you didn’t copy and paste). Here are a few forum posts about it:

A picture of your drivetrain would help us out though.

1 Like

This won’t fix the driving but in auton you could use a angle correction pid something like this :

1 Like

Our team has come across this problem before, and here are some tips that could help you.

  1. Check if all the motors are working. If one of the motors is slow, then it’s probably because it’s too hot. If it’s not moving the drive train at all, then check if the shaft is in all the way.
  2. Check the drive train’s angle. If the left side of your drive train is slightly angled to the left, then that could’ve made your robot move towards the left. To fix this, just make sure that both sides of the drive train are parallel to each other, and then are braced together well.
  3. Make sure that the friction is the same on both sides. If the left side of your drive train has more friction than the other, then that is probably the reason why the left side is a lot slower, causing the robot to drift in that direction.
  4. Make sure that no shafts are bent, each axle is free to move, and that the bearing flats aren’t trapping the axle in anyway.
  5. Check if the motors on the left side of your drive train are hot. If they are, then that means the left side does have a lot of friction.
2 Likes

Update: My team is just scraping the current design. But keep posting solutions so others with the same problem can see.

2 Likes

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