![]() |
Gray Jaguar CAN closed-loop speed control
Was any team successful in running closed-loop speed control this season with Gray Jaguars with the optical encoder signals going directly to the Jaguars ?
If so, I have a LabVIEW programmer here who would like to work on this off-season because he never got a chance to do it this year, and he has some questions. My understanding is the following: - he will have to update the firmware on the jags - he will have to use some sort of 3rd-party RS232-to-CAN converter bridge (because the Gray Jags do not have this functionality) - there is no built-in support for the Jaguar CAN interface in the 2010 FRC LabVIEW installation, so he will have to use 3rd-party VIs from WPI located at http://firstforge.wpi.edu/sf/projects/canjaguar - the 3rd-party WPI VIs do not support all the control and monitoring capabilities that the Jaguar offers (or so I am told) Is the above correct? Are there any other issues to be aware of? Finally, is there a technical document for the Gray Jaguars that explains the Jag's API in sufficient detail that he could develop his own VI if he wanted? Thank you. ~ |
Re: Gray Jaguar CAN closed-loop speed control
We used 1 black jag for rs232/can and encoder, 3 greys with encoder and 1 grey using limit switches. The 1 black and 3 greys were for a mecanum drive, the 4th was for our arm.
1. Update firmware to 90 or 91 on both black/grey 2. we used 1 black jag as the interface 3. We used version 39 from WPI + mods 4. version 39 has a lot more monitoring, see the speed control tuning vi and dashboard. We used current, limit switches and speed monitoring back to our dashboard for testing/debug 5. If you want to use mecanum you will need to mod the CAN mecanum for speed control - not that difficult or I can find our changes. For some reason in speed mode the motor invert on the open isn't passed through, we modified the vi to handle the invert booleans |
Re: Gray Jaguar CAN closed-loop speed control
Quote:
Quote:
Was your team's primary motivation for using CAN to get speed control? If so, did you do this because open-loop voltage control did not give the driver satisfactory control of the robot in TeleOp? Did you use the Jag's position control in autonomous for more accurate positioning? ~ |
Re: Gray Jaguar CAN closed-loop speed control
Quote:
|
Re: Gray Jaguar CAN closed-loop speed control
Quote:
|
Re: Gray Jaguar CAN closed-loop speed control
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: Gray Jaguar CAN closed-loop speed control
1 Attachment(s)
Here you go, this is the CAN version 39 from WPI with our extensions. The new files are:
CAN Jaguar Set Output Speed.vi CAN Jaguar - Open4MotorSpeed.vi CAN Jaguar - MecanumDrive_PolarSpeed.vi we also updated CAN Jaguar HolonmicDrive.vi so PolarSpeed is another option within it. Tim |
| All times are GMT -5. The time now is 02:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi