Go to Post if you've got the guts you will get the job done. - JamesCH95 [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
  #1   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
  #2   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: 549
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
  #3   Spotlight this post!  
Unread 16-01-2011, 13:30
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 ozrien View Post
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.

Last edited by drakesword : 16-01-2011 at 13:56.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2011, 18:44
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: Updated CAN Jaguar Issue

Quote:
Originally Posted by drakesword View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2011, 17:05
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
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.

Last edited by vinnie : 17-01-2011 at 17:09.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2011, 13:56
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

Quote:
Originally Posted by drakesword View Post
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2011, 18:47
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: Updated CAN Jaguar Issue

Quote:
Originally Posted by Adamsmasher View Post
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
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2011, 19:54
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

Thanks so much for working on this problem over the weekend. Team 346 appreciates it.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-01-2011, 21:03
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by jhersh View Post
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!
Reply With Quote
  #10   Spotlight this post!  
Unread 17-01-2011, 14:17
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

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.
Reply With Quote
  #11   Spotlight this post!  
Unread 17-01-2011, 17:42
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: Updated CAN Jaguar Issue

Quote:
Originally Posted by drakesword View Post
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
Reply With Quote
  #12   Spotlight this post!  
Unread 17-01-2011, 20:11
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: Updated CAN Jaguar Issue

Quote:
Originally Posted by drakesword View Post
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
Reply With Quote
  #13   Spotlight this post!  
Unread 17-01-2011, 20:38
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 jhersh View Post
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.
Reply With Quote
  #14   Spotlight this post!  
Unread 17-01-2011, 20:43
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
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?
Reply With Quote
  #15   Spotlight this post!  
Unread 17-01-2011, 21:04
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: Updated CAN Jaguar Issue

Quote:
Originally Posted by vinnie View Post
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
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 10:46.

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