View Single Post
  #6   Spotlight this post!  
Unread 07-03-2006, 22:23
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Keeping a certain heading using a gyro

Also, AFAIK its better to call Get_Gyro_Angle() once. Each time you call it, you shut off interrupts while the code inside it executes.. You want to keep them on as much as possible.

While this probably isn't your idea, don't Reset_Gyro_Angle() before you get the angle.. it will result in getting 0 as an angle