View Single Post
  #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