View Single Post
  #7   Spotlight this post!  
Unread 17-01-2006, 12:15
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Omni-drive autonomous questions

Quote:
There are many sensors listed on Kevin's site. Which are you referring to?
The gyro and accelerometer, that they asked for.

Quote:
6600gt,
I'm not sure can follow your explanation. Could you please elaborate? I see a few key words but not a clear picture of what is to be done and what each component is used for.
\ x |
\ | y
\ 0 |
\ |

The y axis should be kept parallel to partiquar side of the field. The gyro will give you theta(0) and the hypotenuse is the distance traveled, the accelerometer will give you this value or more accurately you have to calculate it. Form these two values you can calculate the change in x and y.
Then if you know your point on the field, you can calculate your distance away form the target.

There is more to it which has to modified based on the direcition you are facing. I am still trying to figure it out. This will keep getting more inaccurate as the match goes on.

This is for a tank dirve. For the omni drive, if you don't want to turn, all you need the accelerometer to keep track of you position. The angle you traveled and the ammount you traveled.

I thought this up a couple days ago. Still have no cule how to impliement the code. The picture is mess up becaues it dosen't keep the spacing.

Last edited by 6600gt : 17-01-2006 at 12:18.