|
Re: "mouse encoders"
I will have to find out exactly, but I think we went with using circumference of the wheels times number of rotations. We used the x and y separately. we measured how far forward we went to change sections in the code. Ex: after x many feet forward we would then execute our turn. Then we measured how far over we went to know what lane we were in. In our hybrid we gave it the signal of what lane the ball was in and the rest relied on the encoders and gyro. If needed I'm sure there is a way of using the x and y together in this same setup, but i don't know the math needed to do it. I will talk to one of our mentors, and try to find a better answer for you.
__________________
FRC Team #16 Baxter Bomb Squad Alumni
FRC Team #2461 Meatal Skins Mentor
|