Go to Post Well our closest regional is a Hawaii, it's a bit hard for us to drive 8000km (5000 miles) across the pacific... - timytamy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 05-02-2015, 17:39
bijan311 bijan311 is offline
Registered User
FRC #1714
Team Role: Alumni
 
Join Date: May 2013
Rookie Year: 2013
Location: Wisconsin
Posts: 11
bijan311 is an unknown quantity at this point
Re: Temperature for Gyroscope

Do the other analog inputs on the roboRio have something plugged into them?

Earlier this season my team had a similar issue where the gyro would drift steadily when the robot was stationary and would jump 10-20 degrees whenever we drove the robot quickly. At first, we set a deadband on the gyro in the code, which helped, but did not fully resolve the issue. We then printed the values of the other analog inputs on SmartDashboard and found that when we drove the robot, those values would oscillate wildly, which we assumed made noise one the gyro's signal. To stop this, we plugged in jumper wires going from the ground to the signal of each unused analog input port to keep them at a constant value, and that fixed the drift for us.

Last edited by bijan311 : 05-02-2015 at 19:19.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi