Go to Post It's wonderful to think of how close together we all grow, win or lose. - Po-ser [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
  #16   Spotlight this post!  
Unread 03-04-2013, 13:13
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: FMS Differences with motor safety?

I think the output of the motor safety warnings is a symptom, not the problem. It is my belief that the WPIlib has some issues, I'm thinking in the NetworkTables implementation, where it will stall a thread, keeping it from being able to update the motor controls.

In our "lab" using a practice robot, I would notice that at times the robot would become unresponsive. A few seconds later, the motor safety helper message would start on the console. I could close the SmartDashboard application, an error would appear on NetConsole and immediately the robot would recover and the messages would stop. Without SmartDashboard there was no such problem.

At our last regional (Knoxville), it was STRONGLY SUGGESTED that we install the latest version of the Driver Station software on our laptop. As soon as we did so, we started having control issues and motor safety helper warnings, even with no SmartDashboard application running.

By this time, I had put #if/#endif pairs around all of our SmartDashboard code, and we decided to disable them at the competition, but also to switch to another laptop still running the slightly older version of the Driver Station for competition as we were unable to get back on the practice field to test out the changes with the new version of the Driver Station.
Reply With Quote
  #17   Spotlight this post!  
Unread 03-04-2013, 19:50
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,753
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: FMS Differences with motor safety?

The difference between the earlier 2013 and latest 2013 DS release are very minor. It is related to logging of robot data to your DS computer. None of it interacts with smart dashboard.

As with the FMS interaction, I'm providing this info so that you can look for the issue where it is most likely occurring. I cannot guarantee anything 100%, but I can tell you that in my opinion, the new DS has nothing to do with your issue and neither does the FMS.

Greg McKaskle
Reply With Quote
  #18   Spotlight this post!  
Unread 04-04-2013, 21:04
jwhite jwhite is offline
Registered User
FRC #2823
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Saint Paul, MN
Posts: 69
jwhite is an unknown quantity at this point
Re: FMS Differences with motor safety?

Quote:
Originally Posted by JefferMC View Post
In our "lab" using a practice robot, I would notice that at times the robot would become unresponsive. A few seconds later, the motor safety helper message would start on the console. I could close the SmartDashboard application, an error would appear on NetConsole and immediately the robot would recover and the messages would stop. Without SmartDashboard there was no such problem.
Yeah, there seem to be a lot of suspicious reports involving the SmartDashboard; I heard from a team or two at our regional that had to remove it to get a stable operation, and I recall seeing threads here that pointed suspicious fingers at it as well.

Cheers,

Jeremy
Reply With Quote
  #19   Spotlight this post!  
Unread 21-04-2013, 15:22
jwhite jwhite is offline
Registered User
FRC #2823
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Saint Paul, MN
Posts: 69
jwhite is an unknown quantity at this point
Re: FMS Differences with motor safety?

Quote:
Originally Posted by jwhite View Post
I hope to run a test to see if generating error messages at the same time Network Tables traffic is being sent can cause a crash; that would test my first hunch. The other step I would take is to put wireshark on while it operates to see if that generates any further clues.
Just for completeness, we did run this test, and got no crashes. I also pulled a wireshark trace of our exaggerated test (which sent a lot of Network table updates), and didn't find anything that jumped out at me. Ah well, color me stumped.

Cheers,

Jeremy
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 13:39.

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