View Single Post
  #8   Spotlight this post!  
Unread 27-02-2010, 17:05
dwodrich dwodrich is offline
Registered User
FRC #1706
 
Join Date: Dec 2008
Location: Wentzville
Posts: 45
dwodrich has a spectacular aura aboutdwodrich has a spectacular aura aboutdwodrich has a spectacular aura about
Re: Any sucess using a accelerometer to measure distance

Quote:
Originally Posted by Kennersoft View Post
This is true, but if you're tracking your robot's attitude (heading, pitch, and roll) you can compensate for that. We have that in our code, and it even "calibrates" itself on startup by reading the current gravity.

dwodrich, I do have sample code for you, except it's a mess right now since we're having to rewrite it a tad to reduce complexity. When some of the students can't follow what's going on I know I've got a problem.
I'd love to take a look at it maybe I can help clean it up?
Reply With Quote