Thread: Yaw Sensor
View Single Post
  #14   Spotlight this post!  
Unread 11-02-2004, 22:34
mattf mattf is offline
Registered User
#0168 (The Flashbacks)
Team Role: Programmer
 
Join Date: Apr 2003
Location: Miami
Posts: 27
mattf is on a distinguished road
Send a message via AIM to mattf
Re: Yaw Sensor

the yaw rate sensors are analog, and you need to call Get_Analog_Value() on the variable in order to get the actual value. reading it directly won't work (and it looks like that's what you're doing).

also, remember that the analog inputs on the rc are now 10-bit, so without moving the sensor, you should get a reading around 512.

hope that helps.
__________________
2004 UCF Quarterfinalists! (168, 79, 710)
2003 UCF Regional Champions! (212, 168, 108)