Go to Post In real life, you paint the number on your OWN forehead. How you dress, how you look, what expression you have on your face, your body language, etc. You may not see the number but it is there. - Joe Johnson [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 15-01-2011, 13:33
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
WPILib MotorSafety error?

We seem to be encountering an error with WPILib, when we Run Kernel Task, I , It pops this error up:
Quote:
Exception in Kernel Task FRC_RobotTask:0x228a9e0
at ... in MotorSafetyHelper::IsAlive()
at .../MotorSafetyHelper.cpp:65
... Data Acess...
Attach Debugger
I've installed the WR update, Utilities, and DS updates. Reimaging does not change the error

EDIT:
after we did a bit of dissecting, it appears to be the CANJaguar class. We have the BlackJaguar Plugin installed, and all Jaguars are at firmware 89 if I remember correctly (whatever last years was, we have it)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib

Last edited by byteit101 : 15-01-2011 at 15:31.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2011, 00:49
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: WPILib MotorSafety error?

Quote:
Originally Posted by byteit101 View Post
We seem to be encountering an error with WPILib, when we Run Kernel Task, I , It pops this error up:

I've installed the WR update, Utilities, and DS updates. Reimaging does not change the error

EDIT:
after we did a bit of dissecting, it appears to be the CANJaguar class. We have the BlackJaguar Plugin installed, and all Jaguars are at firmware 89 if I remember correctly (whatever last years was, we have it)
This is a bug that will be fixed in the next update. It is caused by the CANJaguar constructor not completing successfully (in your case due to the version being too old) and therefore not assigning a valid address to the m_motorSafetyHelper pointer. Later when that pointer is accessed, it crashes. For now, if you update the firmware version on your Jags to v92, the crash should go away.

-Joe
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2011, 08:49
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: WPILib MotorSafety error?

Quote:
Originally Posted by jhersh View Post
For now, if you update the firmware version on your Jags to v92, the crash should go away.

-Joe
I was assuming so, but last week, I looked everywhere I could think of (LM site, FF CanJaguar project, usfirst update location, wpi update location) for the latest update, and could not find it. Where are they located?
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2011, 11:17
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: WPILib MotorSafety error?

The Jag firmware update is on the LM site.

MDL-BDC24 FRC2011 Firmware
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2011, 11:46
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: WPILib MotorSafety error?

Quote:
Originally Posted by byteit101 View Post
I was assuming so, but last week, I looked everywhere I could think of (LM site, FF CanJaguar project, usfirst update location, wpi update location) for the latest update, and could not find it. Where are they located?
It's installed by the FRC utilities update in the <public documents>\FRC folder.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2011, 11:54
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: WPILib MotorSafety error?

Ahh, LM was slow (just like almost everyone else). Thanks.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2011, 17:46
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: WPILib MotorSafety error?

Quote:
Originally Posted by byteit101 View Post
I was assuming so, but last week, I looked everywhere I could think of (LM site, FF CanJaguar project, usfirst update location, wpi update location) for the latest update, and could not find it. Where are they located?
And to think... it was installed on your machine the whole time.

Quote:
Originally Posted by Joe Ross View Post
It's installed by the FRC utilities update in the <public documents>\FRC folder.
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:02.

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