View Single Post
  #7   Spotlight this post!  
Unread 11-05-2010, 10:58
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Sine and Cosine in C++

No, our code was primarily used for autonomous period. And we did not plan to go over the bump. Like I said, if you hit the bump, the impact will probably saturate the accelerometer and render the reading inaccurate. We know the limitation of the code and only use it within its limit. In any case, the accelerometer library code will give you the accel/vel/distance for all the axes. So in theory, you could take the z-axis data and do some compensation with it. But we did not do that in our main code.
__________________
Reply With Quote