Go to Post I'm tired of quoting the manual for today so all I will say is "Try again". - Vikesrock [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 15-01-2011, 15:02
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,940
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Updated CAN Jaguar Issue

The Windriver DVD is located inside the scholarship packet oddly enough.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #32   Spotlight this post!  
Unread 15-01-2011, 15:36
Shadow24 Shadow24 is offline
Registered User
FRC #3173
 
Join Date: Jan 2011
Location: US
Posts: 7
Shadow24 is an unknown quantity at this point
Re: Updated CAN Jaguar Issue

We figured that out... unfortunately we don't know where that is either... :/ Is there any way to do it without the disk?

(wtf does Windriver have to do with scholarship information?! You would think they could just put all of the discs together into one package...)
Reply With Quote
  #33   Spotlight this post!  
Unread 15-01-2011, 15:53
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

ruh roh

Code:
* Loading StartupDlls: FRC_BlackJagBridgePlugin
[cRIO] Warning: module 0xc59640 (FRC_BlackJagBridgePlugin.out) holds reference to undefined symbol _Z58FRC_NetworkCommunication_JaguarCANDriver_registerInterfaceP18CANInterfacePlugin.
[cRIO] (unloading partially loaded module FRC_BlackJagBridgePlugin.out)
[cRIO] ...FRC_BlackJagBridgePlugin failed to load.
Reply With Quote
  #34   Spotlight this post!  
Unread 15-01-2011, 15:54
LeelandS's Avatar
LeelandS LeelandS is offline
Robots don't quit, and neither do I
AKA: Leeland
FRC #1405 (Finney Falcons)
Team Role: Tactician
 
Join Date: Nov 2007
Rookie Year: 2005
Location: Webster, NY
Posts: 545
LeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond reputeLeelandS has a reputation beyond repute
Re: Updated CAN Jaguar Issue

Hi all,

1126 here to add ourselves to the list of teams experiencing this problem.

We had one jaguar using the can/serial interface in 2010. We've updated to the 2011 software and now get the UncleanStatusException(status code -52007) when constructing a CANJaguar object. A step by step playback follows:

1. Verified that our robot was fully functional in the 2010 state.
2. upgraded the driver station to 2011
3. upgraded netbeans to the 2011 plugin
4. flashed the crio with the v25 (2011 image)
5. deployed our code and saw an error message indicating our jaguar should be updated to v92, it was 87 or so.
6. flashed the jaguar to v92 to support 2011
7. Got the UncleanStatusException.

We will try the try block/ loop workaround soon and report any success.

Edit: This is all happening in java
__________________
My heart will forever lie with SparX
1126: 2008 - 2011; Where it All Began.
1405: 2013 - Present; A Wanderer is Born.

Work hard, play hard. And maybe someday...

Last edited by LeelandS : 15-01-2011 at 16:26.
Reply With Quote
  #35   Spotlight this post!  
Unread 15-01-2011, 16:06
Shadow24 Shadow24 is offline
Registered User
FRC #3173
 
Join Date: Jan 2011
Location: US
Posts: 7
Shadow24 is an unknown quantity at this point
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by SparxProgrammer View Post
We will try the try block/ loop workaround soon and report any success.
We tried this to the point where it eventually returned an out-of-memory error and it never worked...
Reply With Quote
  #36   Spotlight this post!  
Unread 15-01-2011, 16:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,940
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by Shadow24 View Post
We figured that out... unfortunately we don't know where that is either... :/ Is there any way to do it without the disk?
How about visiting another Rochester team to borrow their 2011 Windriver long enough to install it?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #37   Spotlight this post!  
Unread 15-01-2011, 16:22
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

Fixed my problem but now the code crashes with unclean when setting PID . . . strange. Also we are getting . . .
Code:
[Squawk VM] Version: 2011 FRC, Jan  6 2011, 09:58:39
[cRIO] 
[cRIO] [Squawk VM] Version: 2011 FRC, Jan  6 2011, 09:58:39
it looks like jvm is loading twice also it listed once in the load method . . .


any idea on the unclean -52007 on setPID?
Reply With Quote
  #38   Spotlight this post!  
Unread 15-01-2011, 16:27
Adamsmasher Adamsmasher is offline
Registered User
FRC #1646 (Boiler Precision Guessworks)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Purdue
Posts: 4
Adamsmasher is an unknown quantity at this point
Re: Updated CAN Jaguar Issue

Team 1646 is also experiencing this problem. We are using java, and although both the 2can and BDC-COMM see our jaguars, we get status code -52007 when we try to initialize the jaguars.

We tried putting the initialization in a loop as suggested, but still got the error.
Reply With Quote
  #39   Spotlight this post!  
Unread 15-01-2011, 16:34
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

it appears that the majority of the problems are happening in java. Here is what we did and checked so it can be eliminated from possible problems

Originally crashed when creating the CANJaguar Object.

Checked cable -ok-
Drove with bdc-comm -ok-
Changed load order of plugins -crashed before load-
Placed plugin right before loading java -crash at setPID-
Commented out all setup code after setPID and code ran

Notes: Without setting the PID for the speed control mode the jaguars will not run . . . that is normal

EDIT:
I reported the problem to wpi

Last edited by drakesword : 15-01-2011 at 16:41.
Reply With Quote
  #40   Spotlight this post!  
Unread 15-01-2011, 16:44
Shadow24 Shadow24 is offline
Registered User
FRC #3173
 
Join Date: Jan 2011
Location: US
Posts: 7
Shadow24 is an unknown quantity at this point
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by Mark McLeod View Post
How about visiting another Rochester team to borrow their 2011 Windriver long enough to install it?
SparX wanna help us out perhaps?
Reply With Quote
  #41   Spotlight this post!  
Unread 16-01-2011, 10:30
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Updated CAN Jaguar Issue

Team 339 is getting 52007 when using CAN as well. During initialization, getFirmwareVersion() returns fine, but enableControl() throws the UncleanStatusException.

If we use a second constructor argument to start in speed mode (therefore avoiding a call to enableControl() right away), we get the same failure whenever we send certain commands to the Jags. setPID() triggers a failure, for example.

We are also using Java.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
  #42   Spotlight this post!  
Unread 16-01-2011, 10:56
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

Just did some coding . . .

Reverted to the old CANJaguar api and still had issues.
Reply With Quote
  #43   Spotlight this post!  
Unread 16-01-2011, 11:36
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

Is everyone who is having issues using the serial to can or is there some people with the 2can having the issues as well?
Reply With Quote
  #44   Spotlight this post!  
Unread 16-01-2011, 13:06
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by Adamsmasher View Post
Team 1646 is also experiencing this problem. We are using java, and although both the 2can and BDC-COMM see our jaguars, we get status code -52007 when we try to initialize the jaguars.

We tried putting the initialization in a loop as suggested, but still got the error.
When you used the 2CAN did you load the 2CAN plugin instead of the serial can plugin?

I would like to know if the 2CAN is indeed working. If it is we will switch temporarily
Reply With Quote
  #45   Spotlight this post!  
Unread 16-01-2011, 13:23
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 559
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Updated CAN Jaguar Issue

Be sure to use the latest 2CAN plugin from our site....
http://www.crosstheroadelectronics.com/2CAN.htm

The plugin that's installed with the FRC image is very old (early 2010). Requesting firmware version does not work with that plugin.

More info here...
http://forums.usfirst.org/showthread...highlight=2can
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: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