View Single Post
  #3   Spotlight this post!  
Unread 28-01-2015, 01:02
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,242
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Data from BuiltInAccelerometer

The math is trivial with the assumption that the robot never turns.

As soon as the robot turns, or goes up/down over the scoring zone, the math gets complex really quickly.

Then, you have to map the xyz space of the roboRio to your xyz space (you don't want to assume that the accelerometer in the roboRio is exactly flat to the base of the roboRio, and that the roboRio is mounted in a plane parallel to the floor.

Last edited by rich2202 : 28-01-2015 at 01:05.