View Single Post
  #18   Spotlight this post!  
Unread 22-04-2008, 22:58
martschr martschr is offline
Registered User
FRC #2461 (Metal Skins)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Oklahoma City
Posts: 17
martschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of light
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