Drivetrain for precise driving

Is there any type of build you could use for precise driving without the wheel base leaning to one side turning one side over time

The simplest answer is to highly optimize the friction on both sides and make sure you are using good motors on both sides.

1 Like
  1. It is impossible to have a perfectly straight robot. You can get really close but you’ll never be perfectly straight. However, look at the BLRS wiki for tips on better build quality practices: Drivetrains | Purdue SIGBots Wiki
  2. Odometry helps. Once you have the robot driving straight enough, that is it can go across the field in a straight line only shifting less than 3 inches, you can use libraries out there to do odometry, pure pursuit, etc. to course correct while traveling a virtual path.
6 Likes

@Entropy is right. @Connor is right. But show your robot so we can actively help you. There are lots of builds that are bad for basic reasons that the builder can’t see because of how much work they put into it - they see what they intended, rather than the actual thing in front of them. Fresh eyes on your build will likely find something in that case.

1 Like

A bit simpler than odometry, you could have a system that adjusts your drivetrain’s motor velocities based on a gyro when the input to the robot is to go straight. (If the gyro senses deviation from a forwards path if travel, the side of the drivetrain which is overpowering the other slows down until there is no more significant deviation).

1 Like

maybe if your whole robot was just one giant, self correcting, perfectly engineered ball like BB-8 from star wars.

3 Likes

This is a good question to be addressed this early in the season. Lets see what the field of VexForum archeology could yield us when searching for “Drive Straight PID” (you need to know the right keywords, of course):

If you visit above topics there will be actual code samples as well as more discussion and links to additional resources.resources

5 Likes

thank you for all your help i believe i got it now I’m just working on trying figure out if i want to focus on torque or speed this year. Once again thank you for your help on this discussion.