View Single Post
  #1   Spotlight this post!  
Unread 01-02-2006, 21:39
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
EasyC Timer and Gyro questions

I can't seem to figure out the answer for two things.

1. EasyC gyro code seems to work well, giving the correct heading when the robot is turned. However we would like to use the actual yaw rate...how can we access this data?

2. We tried to calculate yaw rate ourselves using one of the EasyC timers, however the timer doesn't seem to change. We start it in the Initialize block but subsequent calls return 0, thus we still can't get yaw rate.

We would rather just get yaw rate from the gyro but EasyC doesn't seem to allow this. The reason we want it is so we can use the yaw rate to control our drive better, so that straight stays straight and turns are constant. So if anyone has any ideas on how to do this, we would appreciate the advice!