Go to Post When you build a practice robot, you're literally buying time. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 05-03-2013, 10:23
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 44
JefferMC will become famous soon enough
SmartDashboard Poll

During some matches on Friday at Palmetto we had, shall we say, "impaired" control of the robot, sluggishness, etc., even while the network monitors showed nominal trip times (<40 ms). We provided our logs to the guys from NI and were asked by several "survey takers" during Friday and Saturday: "Do you (a) have a camera, (b) use SmartDashboard?"

By Saturday morning the official suggestion was to disable the SmartDashboard application on the driving PC, which we did and all "iffy" control problems went away. I've spent much of Sunday thinking about alternate ways to provide configuration information to the robot, and wondering out who make up for the lost feedback mechanisms.

Yesterday, a mandatory update was out for WindRiver C++ to correct SmartDashboard issues. I'm creating this post as sort of an informal survey of my own:

How comfortable are you with continuing to use SmartDashboard during competitions?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2013, 10:32
rsisk's Avatar
rsisk rsisk is online now
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: SmartDashboard Poll

Unofficial word at CVR was the c++ libraries used by the smart dashboard were causing many of the field headaches. Once code was replaced (sorry, used Labview so I don't know the details of the change) field issues were gone for the most part.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-03-2013, 11:36
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: SmartDashboard Poll

Which "SmartDashboard" meaning are you asking about? Do you want to know if we use the Network Tables implementation for communication of values between the robot and the Driver Station computer? Or do you want to know if we use the Java program having that name? You're asking in the C++ subforum, so I'm not sure whether you care about teams using SmartDashboard variables with the LabVIEW Dashboard.

The name collision between protocol and application is unfortunate and confusing.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-03-2013, 11:42
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: SmartDashboard Poll

There was an issue with the C++ NetworkTables implementation that only appeared when there were several robots all updating a number of variables very frequently. This usually occurred with SmartDashboard but would also fail with the default LabVIEW dashboard and NetworkTables or any other NetworkTables client program on the robot network.

There is a new version of WPILib that will be required for C++ teams that has been posted here:

http://firstforge.wpi.edu/sf/frs/do/...ate_rev_362 2

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #5   Spotlight this post!  
Unread 05-03-2013, 11:48
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: SmartDashboard Poll

Did this issue also affect Java teams? We had a couple of instances where SmartDashboard ceased to update, despite the fact that we still had (responsive) control of the robot.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-03-2013, 13:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,754
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: SmartDashboard Poll

I saw the issue with a couple of Java teams.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 05-03-2013, 14:04
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: SmartDashboard Poll

We had one FMS issue against 16 when we both had intermittent control (16 was sent spinning in place, we were surging in a circle). We use Java Smartboard and I believe 16 uses the C++ version. The FMS team were thinking that we exceeded our bandwidth because of too high a camera resolution displayed on the SmartDashboard. That didn't ring true because I had set our camera to 320x240 using the axis camera tool. Nevertheless, it is probably a good idea to check your camera settings.

Last edited by Brian Selle : 05-03-2013 at 15:42.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-03-2013, 15:02
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: SmartDashboard Poll

To be clear, it wasn't us who thought that your settings weren't right. Greg came to our pits to check our camera settings as well. We were in the middle of trying to figure out how WE could have caused the weirdness we saw that match. The robot was very unresponsive, leading to over corrections in steering, and then it looked like the motor outputs got stuck for a couple seconds.
Our DS logging showed significant communications issues, but we don't know who was at fault... could be FMS as far as I know. We only had issues in that one match.

To add a little insight: we have a few dozen variables on the dashboard, but they only update when a specific joystick button is pressed. This allows us to have all the trouble-shooting tools we could need in the pit, while not overloading the network during a match. All we have running during a match is the camera feed.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-03-2013, 15:42
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: SmartDashboard Poll

Quote:
Originally Posted by Jefferson View Post
To be clear, it wasn't us who thought that your settings weren't right.
Sorry I edited my post to make it clear... it was just a theory from the FMS team. Greg came over to our pit as well and I showed him the setup. We did have a lot of real-time parameters updating for debugging purposes on the SmartDashboard (about 30 or so)... hopefully that's wasn't it. To be safe, I'm going to change the setup so only the camera feed is running continuously during the match.

What's odd is how 2 teams lost/regained communication at the same time... and the idea that somehow one team could mess up another team. I thought that was the whole reason for limiting everyone's bandwidth.

Last edited by Brian Selle : 05-03-2013 at 15:46.
Reply With Quote
  #10   Spotlight this post!  
Unread 05-03-2013, 16:21
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 44
JefferMC will become famous soon enough
Re: SmartDashboard Poll

I refer both to the Java application that runs on the Control Computer and to the class of the same name that communicates with it via NetworkTables. That they use the same name instantly draws the connection between them in ones mind, and I can't believe that wasn't intentional.

We disconnected the camera (configured at a 1.7 Mbps consuming 320x240x30x30%compression) and quit running the Java application as I was advised by the FIRST personnel. This resolved our issues for the remaining matches.

I specifically asked the FIRST representative if I needed to remove the SmartDashboard class calls in my code and the answer was that to stop running the Java application was sufficient. Again, this representative was explicit in making sure I was talking about Brad Miller's Dashboard vs. any other Dashboard application.

Okay, yeah, maybe I should have posted this in the common Programming forum. I sorta forgot that this feature was common with our Java friends.
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 12:41.

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