Odometry

Hi,
So my team and i would like to use Odometry but we are unsure how to code every thing and believe that it would be difficult for us because we have a drifty drive train, so any help would be appreciated.

1 Like

give these two articles/post a read. explains alot of the math and thought proccess behind odometry.

heres another good reference from 8059a

4 Likes

It is supposed to be a simplified version from 5225a’s version.

1 Like

im not sure if i should be using rotation sensors or shaft encoders.

The new rotation sensors are probably your best bet.

1 Like

so i have a little understanding of calculus as i am taking pre-cal but were still confused about coding it after reading these documents, not sure what to go from here. is there a way for in autonomous to just have the motors spin till the rotation sensor spins a certain amount of times, with out doing odometry

Honestly, not everything need to use odometry.
Most of the time, just PID will do the work.

1 Like

If you are looking for a place to get started then, probably, this topic is best for that:

Once you get it to work with your robot, you could explore more complex methods and discussions linked from and to that thread.

1 Like