Go to Post Smart defense doesn't even require your robot to push another. - Cory [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2012, 15:03
stintzi stintzi is offline
Registered User
FRC #3290
 
Join Date: Jan 2012
Location: canada
Posts: 13
stintzi is an unknown quantity at this point
Gyro/Range finder not functioning properly

I've posted my code for the teleop and my dashboard. I have never created a custom dashboard and would like to call you all to check my High Priority Data to ensure that is all set up properly.
My gyroscope has never functioned properly, it is the 2010 split up Accelerometer/Gyroscope. I have my gyroscope hooked into Analog Module 1 in port 2.
My range finder is hooked into port 1. It used to work properly, but now it doesn't. When I power it and monitor the analog signal with a multimeter I get a fluctuation from 0 to 1 V when I point the range finder around the room. However, on the dashboard it only ranges from about 2.5 to 3 and once and stops changing after a bit.
I am using the Range Finder that came with the 2012 KOP. Attached are my Teleop.vi and Dashboard.vi. I am using the 8 slot crio in the analog module 9201.
Attached Files
File Type: vi Teleop.vi (36.4 KB, 10 views)
File Type: vi Dashboard Main.vi (86.2 KB, 8 views)

Last edited by stintzi : 17-02-2012 at 15:09.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2012, 20:05
stintzi stintzi is offline
Registered User
FRC #3290
 
Join Date: Jan 2012
Location: canada
Posts: 13
stintzi is an unknown quantity at this point
Re: Gyro/Range finder not functioning properly

Everything appears to be hooked up, electrically, correctly.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2012, 12:53
Wolfgang Wolfgang is offline
Registered User
AKA: Mehmed
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2010
Location: Denver
Posts: 47
Wolfgang is an unknown quantity at this point
Re: Gyro/Range finder not functioning properly

My team tried playing with the rangefinder as well. The max distance is supposedly about 21 ft (not 100% sure), but it starts becoming very noisy after the distance is 8 ft. The data fluctuates widely even when it is quiet, when it is noisy. For this reason, my team has decided not to use the rangefinder.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2012, 09:46
stintzi stintzi is offline
Registered User
FRC #3290
 
Join Date: Jan 2012
Location: canada
Posts: 13
stintzi is an unknown quantity at this point
Re: Gyro/Range finder not functioning properly

Could something be wrong with my cRIO module?
Reply With Quote
Reply


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 08:44.

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