Go to Post Developing new "classes" of super-competition would totally defeat the concepts of info-sharing, partnerships, alliances, etc and create an elitist society within FIRST. - dhitchco [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-03-2015, 21:57
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 152
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
LabVIEW dashboard works in the pits but not on the field

At the Central Illinois Regional my team ran into a problem that put our tote manipulator out of order for about 4 matches.

We read values from a modified version of the LabVIEW dashboard to be able to update parameters on the fly (such as our elevator speed). This worked fine during the build season and worked when tethered in the pit. It also worked in the first 2 matches, but then in subsequent matches we were not receiving some values from the dashboard, causing two of our mechanisms to completely stop working. (I'm not sure if we were getting any data at all, but we were at least not getting two boolean arrays)

We worked with a CSA, but were unable to identify the root cause for several matches. Once we figured out it was the dashboard, we just scrapped using it completely and hard coded all of our values.

I didn't get to talk to the CSA after we figured it out to discuss why this might be happening.

Any ideas?
  #2   Spotlight this post!  
Unread 22-03-2015, 22:14
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 134
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
We had a similar issue with using the dashboard to send variables for our auto routine. I spoke with the CSA as well as one of the FTAs about the issue and didn't get a resolution either. However we found under the variables tab if there was a diamond next to the variable then it wasn't being passed between the driver station and robot.
What we found was that the robot needs to connect to the field first then the driver station. As long as they connected in that order we were fine. Other way around and it wouldn't always link up. We would then need to close and reopen our driver station program and everything would be good. Our solution to keep matches flowing and not cause a delay after a brief conversation with one of the FTAs was to wait till we seen at least one of the 5 other robots connect and then connect.
__________________

  #3   Spotlight this post!  
Unread 23-03-2015, 07:29
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: LabVIEW dashboard works in the pits but not on the field

How essential are these variables? If it's something that must be configured mid-match than I'd recommend switching to smartdashboard. If they are pre configuration than I'd just set them up via tether than detect in code if the values are good than save else discard and retain old.

You mentioned you had a modified dashboard so that's most likely the root of the cause. did you try starting from scratch and rewriting the dash with basic commands?
  #4   Spotlight this post!  
Unread 23-03-2015, 08:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabVIEW dashboard works in the pits but not on the field

There is still some voodoo involved with getting Dashboard (NetworkTables) communication running. For it to work, many things have to take place in the right order.

The easy way to ensure that everything happens properly is to restart the robot code immediately after the Driver Station is talking to the robot. (I have only seen that fail once, and while I'm not sure what the extra problem was, I suspect it was because the team had the wireless network adapter enabled on the DS computer.)
  #5   Spotlight this post!  
Unread 23-03-2015, 08:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: LabVIEW dashboard works in the pits but not on the field

The voodoo is caused by corner-case bugs in the error handling of the TCP reconnect cases. There are several edits needed, some in the DB and some in the DS. As mentioned, the diamonds should tell you definitively whether the variables are synchronized.

Greg McKaskle
  #6   Spotlight this post!  
Unread 30-03-2015, 23:24
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 152
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
Re: LabVIEW dashboard works in the pits but not on the field

Thanks everyone for your input.

We decided to continue not using the dashboard at our Regional last week due to the uncertainty.

A few days ago I saw team update 3/23 that addressed the issue with this document: http://wpilib.screenstepslive.com/s/...24193/l/327864

We may decide to re-implement some of our dashboard features before the World Championship.
  #7   Spotlight this post!  
Unread 31-03-2015, 08:24
FrankJ's Avatar
FrankJ FrankJ is online now
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,895
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: LabVIEW dashboard works in the pits but not on the field

We are using smart dashboard so maybe not directly applicable.... We were told to restart smart dashboard & DS after tethering in the pits & before connecting to the field. Didn't have any issues with smart dashboard connecting. Didn't try it the other way to test the theory either.
__________________
If you don't know what you should hook up then you should read a data sheet
Closed Thread


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 10:03.

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