![]() |
CAN Jaguar error
I did a search, but couldn't find anyone who had the same error # we encountered. This is our exact error:
Code:
Error: status == -44087 (FFFF53C9) in getTransaction() in C:/windriver/workspace/WPILib/CANJaguar.cpp at line 425Any help would be much appreciated. Here is the initialization code for the CAN Jaguars: Code:
CANJaguar *leftJag;// CAN attached Jag for the Left1 motor **** 3 |
Re: CAN Jaguar error
Well, you'll need to post some of your code. At least the portions of it that deal with CAN. Usually, this means your code creates a CANJaguar with a number that isn't on the actual robot.
|
Re: CAN Jaguar error
I updated my original post with the pertinent robot code.
|
Re: CAN Jaguar error
Sadly, this doesn't help much by itself.
You're sure that all the jaguars are present and hooked up to the robot? |
Re: CAN Jaguar error
Yes, all the Jaguars have the correct ID numbers and are on the robot. Something I should have noted earlier is the fact that the error doesn't prevent the robot from working. The robot still drives, it just has some jitters whenever this error occurs, which is usually sparse enough to not be an issue. There have been times where they have popped up about once a second, which then made it impossible to drive.
|
Re: CAN Jaguar error
Quote:
Code:
static final int ERR_JaguarCANDriver_TimedOut = -44087;-Joe |
Re: CAN Jaguar error
We had the same problem. You are sending too much signal to the Jaguar, and the CAN Bus is lagging trying to handle it all.
Set your Wait() time in your main loop to 0.05 seconds. If that doesn't work, try 0.1. That should slow it down enough to process all the data. |
Re: CAN Jaguar error
Thank you for your responses. I'll finally have a chance to check our terminator plug tonight since its our first build day this week. The wait time suggestion also sounds like a very good idea. I'll test both of these tonight and give an update.
|
Re: CAN Jaguar error [Solved]
I figured out that the issue was caused by running the smart dashboard because it took extra time to send the data to the dashboard. I simply commented out the dashboard code and the original wait time worked well. I might be able to modify the wait time for using the dashboard or set up a semaphore system, but it works well enough for now. Thanks for the help!
|
| All times are GMT -5. The time now is 12:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi