Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   CAN Jaguar error (http://www.chiefdelphi.com/forums/showthread.php?t=91102)

Eric24 06-02-2011 18:15

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 425
We're running image v27 with the Black Jaguar Serial Bridge plugin.

Any 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
        CANJaguar *rightJag;// CAN attached Jag for the Right1 motor **    2
        CANJaguar *leftJag2;//                                                                    4
        CANJaguar *rightJag2;//                                                            5

        leftJag = new CANJaguar(3);               
        rightJag = new CANJaguar(2);       
        leftJag2 = new CANJaguar(4);
        rightJag2 = new CANJaguar(5);

We are currently using the TankDrive() function to run drive the motors.

demosthenes2k8 06-02-2011 19:34

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.

Eric24 06-02-2011 21:05

Re: CAN Jaguar error
 
I updated my original post with the pertinent robot code.

demosthenes2k8 06-02-2011 21:10

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?

Eric24 06-02-2011 21:14

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.

jhersh 08-02-2011 03:25

Re: CAN Jaguar error
 
Quote:

Originally Posted by Eric24 (Post 1017037)
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 425
We're running image v27 with the Black Jaguar Serial Bridge plugin.

Any 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
        CANJaguar *rightJag;// CAN attached Jag for the Right1 motor **    2
        CANJaguar *leftJag2;//                                                                    4
        CANJaguar *rightJag2;//                                                            5

        leftJag = new CANJaguar(3);               
        rightJag = new CANJaguar(2);       
        leftJag2 = new CANJaguar(4);
        rightJag2 = new CANJaguar(5);

We are currently using the TankDrive() function to run drive the motors.

Code:

    static final int ERR_JaguarCANDriver_TimedOut        =        -44087;
This could be an issue with the terminators on your CAN bus.

-Joe

davidalln 08-02-2011 11:51

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.

Eric24 10-02-2011 18:14

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.

Eric24 10-02-2011 21:28

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