![]() |
CANNotInitializedException
We've been trying to get our CANJaguar code working, but it keeps returning the CANNotInitializedException.
Our code right now is Code:
public void robotInit(){Code:
[Squawk VM] Version: 2011 FRC, Nov 5 2011, 14:34:13 |
Re: CANNotInitializedException
Also, you cannot define a jaguar inside of a code block (in this case, your "try" block, and then use it anywhere outside of the block. Outside of any method, but inside your class, type (you may have already done this):
Code:
CANJaguar armMotor;(Basically remove the CANJaguar variable marker): Code:
public void robotInit(){ |
Re: CANNotInitializedException
The described error will occur if the cRIO has not had a CAN plugin set when the firmware was flashed. You need to re-image the cRIO to solve the problem.
|
Re: CANNotInitializedException
AriTheHun, I believe you would be correct if the issue were a CANTimeoutException, but this is a CANNotInitializedException, which, as Metis said, is supposed to occur when the CAN Driver is not properly loaded.
|
Re: CANNotInitializedException
Quote:
|
Re: CANNotInitializedException
Quote:
|
| All times are GMT -5. The time now is 22:15. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi