View Single Post
  #5   Spotlight this post!  
Unread 25-03-2010, 23:52
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: How to read Cypress values properly?

Quote:
Originally Posted by eedo369 View Post
Thanks for all the info. Just one more question- I understand how to get values from the accelerometer, but I don't understand how to translate them to its movement.

Say, if I want to write a program that starts an engine everytime the cypress is being tilted horizontally, and maybe control its speed according to it, what parameters should I enter?
The accelerometer is mostly just useful for measuring gravity. If you are using two axes, you can use the atan to find the angle of the board. That or just use the two axes that are parallel with the ground.

-Joe