Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   WPILib MotorSafety error? (http://www.chiefdelphi.com/forums/showthread.php?t=89212)

byteit101 15-01-2011 13:33

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)

jhersh 17-01-2011 00:49

Re: WPILib MotorSafety error?
 
Quote:

Originally Posted by byteit101 (Post 1000735)
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

byteit101 17-01-2011 08:49

Re: WPILib MotorSafety error?
 
Quote:

Originally Posted by jhersh (Post 1001647)
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?

Mark McLeod 17-01-2011 11:17

Re: WPILib MotorSafety error?
 
The Jag firmware update is on the LM site.

MDL-BDC24 FRC2011 Firmware

Joe Ross 17-01-2011 11:46

Re: WPILib MotorSafety error?
 
Quote:

Originally Posted by byteit101 (Post 1001787)
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.

byteit101 17-01-2011 11:54

Re: WPILib MotorSafety error?
 
Ahh, LM was slow (just like almost everyone else). Thanks.

jhersh 17-01-2011 17:46

Re: WPILib MotorSafety error?
 
Quote:

Originally Posted by byteit101 (Post 1001787)
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 (Post 1001905)
It's installed by the FRC utilities update in the <public documents>\FRC folder.



All times are GMT -5. The time now is 13:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi