![]() |
CANJaguar errors on driver station after deploying code
My team is switching from C++ to java this year and to be honest I have actually no idea what I am doing :(
We have set up eclipse (64 bit version) and are now trying to program our testbed, and the sample program seems to run fine until we try defining the IDs, where if the code is uncommented we get this error in the driver station: Code:
ERROR Unhandled exception instantiating robot org.usfirst.frc.team2517.robot.Robot The code we are using: Code:
package org.usfirst.frc.team2517.robot;EDIT: Formatting |
Re: CANJaguar errors on driver station after deploying code
Have you checked to make sure that you can see that CANJaguar using the roboRIO webdashboard?
|
Re: CANJaguar errors on driver station after deploying code
Quote:
http://puu.sh/eEcav/f85f6c8588.png |
Re: CANJaguar errors on driver station after deploying code
1 Attachment(s)
If the jaguars were properly connected, they would show up under CAN, like attached.
|
Re: CANJaguar errors on driver station after deploying code
Quote:
Check your CAN wiring (I would try taking the Jags out of the chain and wiring from roboRIO to PCM if used) to PDP and see if you can get at least one device to show up, then start adding Jags to see where the cabling issue is. |
Re: CANJaguar errors on driver station after deploying code
Ok we are in the process of rewiring the jags now. Thank you!
|
Re: CANJaguar errors on driver station after deploying code
We have tested, found and then replaced a wire that was stopping CAN as a whole, and now we are able to connect to the PCM and PDP, but the jags are still not being recognized. Here is a screenshot of our CAN connections:
http://puu.sh/eEuXx/a318618a2d.png We aren't sure if this is a firmware problem but we installed the version from the update suite. The version number is 2.1.0f3. |
Re: CANJaguar errors on driver station after deploying code
my team is also experiencing this issue but for us it has been appearing at seemingly random times, and then the issue disappears.
Currently the we have two versions of the code, on works one throws CANMessageNotFound However i cannot figure out what the difference is that is causing the error, as they should both be doing effectively the same thing Anyway, our code is at https://github.com/cougarTech2228/Dr...team2228/robot (the working code that is, the error inducing version is in the master branch) (warning the code may have changed since this post) |
| All times are GMT -5. The time now is 11:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi