Go to Post If people played without PDA's back when FIRST had this addiction to nigh-impossible-to-calculate-in-your-head multipliers, then we can play without PDA's now. - Ian Curtis [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 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
  #2   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
  #3   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
  #4   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 15:22.

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