|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. ~ |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
Re: Gray Jaguar CAN closed-loop speed control
Are you aware of any teams which did not have black jag and used a 3rd party interface successfully?
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? ~ |
|
#4
|
|||
|
|||
|
Re: Gray Jaguar CAN closed-loop speed control
I know of many teams that used the 2CAN as an ethernet-CAN interface, nothing else was FRC-legal
|
|
#5
|
|||
|
|||
|
Re: Gray Jaguar CAN closed-loop speed control
I only got to go to one regional this year, but I saw a fair number of teams using CrossTheRoad's 2CAN.
|
|
#6
|
||||
|
||||
|
Re: Gray Jaguar CAN closed-loop speed control
Quote:
Quote:
Quote:
Quote:
Never got to test that. |
|
#7
|
|||
|
|||
|
Re: Gray Jaguar CAN closed-loop speed control
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with CAN bus closed-loop speed control | RoboGuy | Programming | 16 | 14-04-2010 12:34 |
| Closed Loop Speed Control | kgzak | NI LabVIEW | 16 | 29-03-2010 21:27 |
| closed-loop torque (current) wheel control for mecanum | Ether | Programming | 3 | 07-02-2010 00:54 |
| PID control loops - closed loop feedback | KenWittlief | Technical Discussion | 56 | 26-04-2004 21:27 |
| How Can You Make A Closed Loop System???? | GRR_340 | Pneumatics | 6 | 21-03-2002 12:27 |