Go to Post Mentors build mentors. - Siri [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 25-03-2013, 13:40
Rusttree Rusttree is offline
Registered User
FRC #4146
 
Join Date: Jan 2013
Location: Scottsdale,AZ
Posts: 13
Rusttree is an unknown quantity at this point
Robot/Dashboard communication and the FMS

Team 4146 has experienced a very difficult problem to debug. On very rare occasion, the robot starts up in a weird state. Some systems don't respond to controls but some do. We have a climber that extends in and out automatically. When this elusive problem occurs, the arm just oscillates back and forth forever until power is cut. Upon rebooting the cRIO (without changing anything else), the robot behaves normally.

Naturally, staying true to Murphy's Law, the problem happened at a very high frequency when connected to the FMS during our competition this passed weekend.

Right now, my biggest suspect is the robot-dashboard communication. We program in Labview, so we use the WPI library of "SD" VIs to transfer data between the cRIO and the Dashboard. Our final code had about 20 or so double precision values being sent back and forth.

The reason I suspect the data transfer is because in our attempt to fix the problem, I prevented all the code in Periodic Tasks from executing during autonomous mode except for the SD comms. The problem still occurred immediately in autonomous mode. At one point, we even had our autonomous code completely disabled. So the ONLY thing running during autonomous mode (besides all of the FRC background code) was the SD comms in Periodic Tasks.

I'm curious if Greg McKaskle or Mark McLeod (or any other Labview gurus) have any thoughts on this. The main problem is the inconsistency of the problem occurring. It happens much more frequently when connected to the FMS during a match, but we obviously can't test and develop in that environment.
Reply With Quote
 


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 12:05.

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