View Single Post
  #10   Spotlight this post!  
Unread 29-01-2006, 18:31
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: ACCELEROMETER! && GYRO!!!????

Quote:
Originally Posted by magical hands
since master code runs only like at 2.26 milliseconds or something. but we can assume that the accelerometer gives out values at every 2.26 m/s therefore we can say that velocity = acceleration/processor time^2. If i am wrong please correct me Thank you once again guys!
No, velocity = Vo + A * T (T = SW loop cycle time)

Vo is the velocity at the last time you sampled the sensor, you need to integrate A*T to get velocity (integrate means keep a running summation: add A * T to a variable that is initialized = 0 when you know the bot is not moving).