Go to Post Overpowered? You only took out half the building... Knock the rest down then get back to me. - sodizzle [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2011, 18:15
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
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.
__________________


Last edited by Eric24 : 06-02-2011 at 19:41.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2011, 19:34
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
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.
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 21:05
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
Re: CAN Jaguar error

I updated my original post with the pertinent robot code.
__________________

Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 21:10
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
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?
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2011, 21:14
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
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.
__________________


Last edited by Eric24 : 06-02-2011 at 21:16.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2011, 03:25
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: CAN Jaguar error

Quote:
Originally Posted by Eric24 View Post
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
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2011, 11:51
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
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.
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2011, 18:14
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
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.
__________________

Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2011, 21:28
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
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!
__________________

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:04.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi