|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CANJaguar initialization CAN error
We are trying to get a jaguar to even communicate with the cRIO using 2CAN ( and previously, the serial cable into a black jaguar ) We are using Windriver / c++ We have gone through and set up our system with the correct addresses, and verified communication with bcd-comm. However, we cannot get our cRIO to talk to the jaguars at all. We know our 2CAN works, because we can Go in to the stat page and see the jaguars temperatures and other information. It's not a problem with calling the Set function too quickly, as it happens when initializing the jaguars. ( It happens one for each jaguar initialized )
Finally, our crio has been imaged with the correct can driver. Here is our code The error we are getting is the 44087 error: <Code>-44087 ERROR: status = -44087 (0xFFFF53C9) receiveMessage ...in getTransaction() in C:/WindRiver/workspace/WPILib/CANJaguar.cpp at line 450 FRC: JaguarCANDriver timed out waiting to receive a response from a Jaguar. I can't think of what the problem would be, except with the crio image, but that is updated, as well as everything else, to the most current version. Thanks for the help. ![]() |
|
#2
|
||||
|
||||
|
Re: CANJaguar initialization CAN error
You need to enable the Jaguars. You may have done that in your CANMechanumDrive class but since you did not post that, I can't tell.
Code:
CANJaguar::EnableControl(); |
|
#3
|
||||
|
||||
|
Re: CANJaguar initialization CAN error
To my understanding, that is only required when using the kPosition mode. We are in kPercentVBus, so it shouldn't apply, or is that wrong? Also, wouldn't that not matter if it's being thrown just when initializing the jaguars? We are making no calls to Set on the jaguars yet.
|
|
#4
|
||||
|
||||
|
Re: CANJaguar initialization CAN error
You are right. According to the source code, you don't really need it because it will be automatically enabled for kPercentVbus and kVoltage modes.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|