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)

drakesword 16-01-2011 13:30

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by ozrien (Post 1001094)
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

Is it possible that the serial plugin is also old? In that event we will try to load the plugin we used in December and report back


]EDIT[
Nope still broken.

Adamsmasher 16-01-2011 13:56

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by drakesword (Post 1001073)
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

After updating to the latest 2CAN plugin the 2CAN is communicating with the jags and the cRIO fine, but we still get UncleanStatusException when we try to initialize.

jhersh 16-01-2011 18:44

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by drakesword (Post 1001100)
Is it possible that the serial plugin is also old? In that event we will try to load the plugin we used in December and report back

The serial plugin is not old. When the v25 Image was created, I put the wrong 2CAN plugin in the image. That will be fixed in the update.

jhersh 16-01-2011 18:47

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by Adamsmasher (Post 1001123)
After updating to the latest 2CAN plugin the 2CAN is communicating with the jags and the cRIO fine, but we still get UncleanStatusException when we try to initialize.

This is an issue with the Java implementation. The C++ and LabVIEW CANJaguar implementations are not affected.

Please see this tracker: http://firstforge.wpi.edu/sf/go/artf1306

-Joe

drakesword 16-01-2011 19:54

Re: Updated CAN Jaguar Issue
 
Thanks so much for working on this problem over the weekend. Team 346 appreciates it.

JewishDan18 16-01-2011 21:03

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by jhersh (Post 1001295)
This is an issue with the Java implementation. The C++ and LabVIEW CANJaguar implementations are not affected.

Please see this tracker: http://firstforge.wpi.edu/sf/go/artf1306

-Joe

Glad to read this. Team 20's controls team spent the greater portion of this weekend figuring this out for ourselves. Once we reimaged the CRIO back to last year's image and loaded the old Netbeans plugins and had them work flawlessly, we called it a day. Thanks for your work!

drakesword 17-01-2011 14:17

Re: Updated CAN Jaguar Issue
 
Hey Joe,
when could we expect the update to be pushed through. Our team is eager to run our chassis with can asap so drivers can practice.

vinnie 17-01-2011 17:05

Re: Updated CAN Jaguar Issue
 
We here at team 3309 have created a tutorial for our workaround to get CAN working before the official fix is released. Go to our wiki page http://goo.gl/ytxaL to see the tutorial.

jhersh 17-01-2011 17:42

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by drakesword (Post 1002021)
Hey Joe,
when could we expect the update to be pushed through. Our team is eager to run our chassis with can asap so drivers can practice.

I anticipate it will be out later today or possibly tomorrow.

-Joe

jhersh 17-01-2011 20:11

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by drakesword (Post 1002021)
Hey Joe,
when could we expect the update to be pushed through. Our team is eager to run our chassis with can asap so drivers can practice.

It is posted now! You can download it at FIRST Forge or you can use the automatic update in NetBeans.

-Joe

drakesword 17-01-2011 20:38

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by jhersh (Post 1002303)
It is posted now! You can download it at FIRST Forge or you can use the automatic update in NetBeans.

-Joe

For those less aware . . .
http://firstforge.wpi.edu/sf/frs/do/viewRelease/projects.wpilib/frs.wpilib_java_update_for_2011_frc.wpilib_java_fr c_2011_update_ve_1

is where the update is. Unload all of the older nbm files and load the 5 new ones.

vinnie 17-01-2011 20:43

Re: Updated CAN Jaguar Issue
 
Thanks for getting it fixed!
But now I am having a new problem.When I tried to call getSpeed(), it would constantly return 0.0. I looked in the javadoc and it said "returns speed of the motor in RPM based on the configured feedback." How do I configure it so I get a real speed value?

Joe Ross 17-01-2011 20:45

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by drakesword (Post 1002341)
For those less aware . . .
http://firstforge.wpi.edu/sf/frs/do/viewRelease/projects.wpilib/frs.wpilib_java_update_for_2011_frc.wpilib_java_fr c_2011_update_ve_1

is where the update is. Unload all of the older nbm files and load the 5 new ones.

Or if you used the installation over the network, just update.

jhersh 17-01-2011 21:04

Re: Updated CAN Jaguar Issue
 
Quote:

Originally Posted by vinnie (Post 1002348)
Thanks for getting it fixed!
But now I am having a new problem.When I tried to call getSpeed(), it would constantly return 0.0. I looked in the javadoc and it said "returns speed of the motor in RPM based on the configured feedback." How do I configure it so I get a real speed value?

Have you configured a reference sensor?

A call like:
Code:

myJag.setSpeedReference(CANJaguar.SpeedReference.kQuadEncoder);
-Joe

vinnie 17-01-2011 21:13

Re: Updated CAN Jaguar Issue
 
Thanks, I set a position reference but I guess I forgot to set a speed reference. This is the first year that we're using CAN so we still have a lot to learn.


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