Go to Post Swerve is hard to get right. - marshall [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 17-01-2014, 09:43
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,752
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: Robot Reboot?

Just to elaborate a bit on how the logged info can help identify the culprit.

The Log File Viewer should appear in your Start menu and can be launched from your DS on the Charts tab. After you experience a reboot, a dead bot, or some other confusing event on the robot, I'd encourage you to note the time of the event according to your DS laptop. Then you can locate the log file that contains the info.

In the log file, you'll see a plot of robot voltage. If the voltage dips at about the same time as the communications loss, it is a reasonable guess that they are related and worth investigating if low voltage condition was the cause. If you let the robot reconnect, the cRIO will actually tattle on the radio if it was up the whole time but also saw that the radio was unreachable. This shows up as a event marker when reconnection takes place. Hover your mouse over the events and their text will show up in the lower left text box. If the event doesn't exist, then it is likely that the cRIO was also rebooting due to low power. By the way, the cRIO also logs an event each time it boots, so that helps to determine if one, the other, or both devices rebooted.

It isn't always a problem with power, so the log will also show CPU usage. It is quite easy, especially with C++ to crash the cRIO, and all languages make it easy to get hung in a loop. If voltage is normal, the red CPU trace may offer insight into why the code wouldn't respond.

Finally, the green and blue plots are for communications quality. In some circumstances it isn't power or code, but external conditions like an arc welder, a microwave oven, or a super-crowded network. The cRIO doesn't reboot, it simply can't talk to the DS well enough to operate safely.

If you are struggling with issues like this, please ask. The tools can always be improved, and many folks do not know how to read the logs that we have.

Greg McKaskle

Last edited by Greg McKaskle : 17-01-2014 at 09:45. Reason: better summary
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 14:33.

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