Go to Post Heat Gun(n.):Your build season replacement for a microwave. - jajabinx124 [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 07-02-2012, 22:19
TheVoid's Avatar
TheVoid TheVoid is offline
C++ programmer
AKA: Liam Taylor
FRC #2605 (Sehome Seamonsters)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Bellingham
Posts: 8
TheVoid is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2012, 22:25
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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();
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2012, 23:03
TheVoid's Avatar
TheVoid TheVoid is offline
C++ programmer
AKA: Liam Taylor
FRC #2605 (Sehome Seamonsters)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Bellingham
Posts: 8
TheVoid is an unknown quantity at this point
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2012, 23:23
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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.
__________________
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 12:57.

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