Go to Post FIRST robots are not six week projects. They are never ending projects where the requirements are changed on an annual basis. - ChrisH [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: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
  #2   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
  #3   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
  #4   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
  #5   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
  #6   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
  #7   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
  #8   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
  #9   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
  #10   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
  #11   Spotlight this post!  
Unread 17-01-2011, 21:13
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, 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.
Reply With Quote
  #12   Spotlight this post!  
Unread 17-01-2011, 20:45
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Updated CAN Jaguar Issue

Quote:
Originally Posted by drakesword View Post
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.
Reply With Quote
  #13   Spotlight this post!  
Unread 18-01-2011, 07:27
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
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
Thanks for fixing this. We have a multi-team design review tonight so we wont get to try this out until tomorrow but I am glad we can finally switch back from PWM control.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #14   Spotlight this post!  
Unread 18-01-2011, 11:51
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer 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
Awesome, thanks! I will definitely try it out today.
Reply With Quote
  #15   Spotlight this post!  
Unread 20-01-2011, 21:52
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: Updated CAN Jaguar Issue

I had a chance to try it out yesterday and today, and it looks like the timeout issue has been fixed! Jag control seems to be rock solid. Thanks guys!
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