Thread: Gyro problems
View Single Post
  #5   Spotlight this post!  
Unread 26-01-2014, 13:54
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Gyro problems

Quote:
Originally Posted by Wazzaps View Post
We wired all correctly, and programmed according to
If you wired it correctly and programmed it correctly and the gyro is working, then you wouldn't be having a problem. Pictures of your actual wiring and actual code would go a long way help others figure out your problem.

Common problems that people have are:
Not powering the Analog Breakout
Wiring to the Temperature output instead of rate
Plugging it in backwards
Not using Analog Input 1 or 2.


Quote:
Originally Posted by Kevin Phan View Post
Also you probably do not want to continually read a gyro in the tele-op vi, since LabVIEW will continually read the gyro and eat up your processing time. You want to use the example to figure out a loop delay and move your gyro reading into Periodic tasks.
Reading the gyro is not taxing. There is no problem reading the gyro in every loop in telop. All of the hard work is done in the background in the FPGA, all the gyro get does is get the latest value.

Last edited by Joe Ross : 26-01-2014 at 14:10.