Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   Updated CAN Jaguar Issue (http://www.chiefdelphi.com/forums/showthread.php?t=88846)

Mark McLeod 15-01-2011 15:02

Re: Updated CAN Jaguar Issue
 
The Windriver DVD is located inside the scholarship packet oddly enough.

Shadow24 15-01-2011 15:36

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...)

drakesword 15-01-2011 15:53

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.


LeelandS 15-01-2011 15:54

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

Shadow24 15-01-2011 16:06

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by SparxProgrammer (Post 1000860)
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...

Mark McLeod 15-01-2011 16:08

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by Shadow24 (Post 1000846)
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?

drakesword 15-01-2011 16:22

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?

Adamsmasher 15-01-2011 16:27

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.

drakesword 15-01-2011 16:34

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

Shadow24 15-01-2011 16:44

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by Mark McLeod (Post 1000878)
How about visiting another Rochester team to borrow their 2011 Windriver long enough to install it?

SparX wanna help us out perhaps? :D

FRC4ME 16-01-2011 10:30

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.

drakesword 16-01-2011 10:56

Re: Updated CAN Jaguar Issue
 
Just did some coding . . .

Reverted to the old CANJaguar api and still had issues.

drakesword 16-01-2011 11:36

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?

drakesword 16-01-2011 13:06

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by Adamsmasher (Post 1000905)
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

ozrien 16-01-2011 13:23

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


All times are GMT -5. The time now is 00:49.

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