|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
Since the release of Jaguar, all control modes (voltage, speed, current, and position) have been functional. During the course of the build season earlier this year some teams helped us determine that there was a bug in the PID routine that made it more difficult to tune your PID constants. We released firmware versions up to 91 to fix the PID bug as well as some other minor bugs.
Note: for the 2010 season, FRC firmware versions 87 through 91 were all legal for competition. If you are using a FIRST cRIO as the controller, you must use FRC legal firmware on the Jaguars. The cRIO uses the trusted protocol that is not present in the non FRC versions of Jaguar firmware. If you are using some other controller with 2CAN or the Black Jag (as a serial bridge) you must use non FRC firmware. Otherwise you will not be able to communicate with the Jaguars because of the trusted protocol. The exception to this statement is if you are running an FRC version of BDC-COMM on your computer which is serially connected to a Black Jaguar. The FRC version of BDC-COMM has both trusted and untrusted support. In summary, these are the combinations that will work: Controller - Bridge - Required Jaguar FirmwareWhat is your setup; how are you connecting to and sending the Jaguars commands? -David |
|
#2
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
My setup is Laptop -> 2CAN -> Jaguar.
Problem is I updated the firmware to the one included in the rdk and only voltage mode is working. |
|
#3
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
What are you using to talk to the Jaguar through the 2CAN? Are you using a custom program? What do you mean by "only voltage mode is working"? Please describe your steps that lead you to the non-working modes.
I believe Cross the Road Electronics has an example application on their 2CAN website. My understanding is it only handles voltage mode. I imagine that it would be possible to modify this example to run different Jaguar modes. Perhaps someone from Cross the Road can offer their advice. -David |
|
#4
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
Useing the source of the FRC 2CAN plugin I send data over a UDP socket to the 2CAN. The origional firmware on the Jaguar (verson 5422) only seemed to only work properly with voltage and position mode.
No changes were made to the software but the firmware was updated to the most current version in the RDK. Then tested voltage mode and it appeared to work. Tested current speed and position and none worked. Tested voltage mode but unplugged the Ethernet cable when I got frustrated to see that the jaguar kept running. I think I just have a bad firmware version. Is there any place that has the older versions available? |
|
#5
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
Quote:
Do you have a Black Jaguar? I would recommend trying to control the Jaguar with BDC-COMM first. You will have to make your own serial adapter, but the instructions and part numbers are available in the MDL-BDC24 Getting Started Guide. This way you can get the various modes working and then troubleshoot your own method of connecting to the Jaguar. BDC-COMM offers an easy way to see what parameters need to be set to get the modes to run correctly. Without more detail on what you're doing, I can't help troubleshoot the problem. We only have the latest firmware versions on the web. -David |
|
#6
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
Quote:
Quote:
Like I said the jaguar can protocol is being used just its being sent to the 2CAN as raw can frames. Here is a sample piece of code that should work. Code:
CANJaguar canJaguar = new CANJaguar(2, CANJaguar.ControlMode.kSpeed);
canJaguar.setSpeedReference( CANJaguar.SpeedReference.kEncoder);
canJaguar.configEncoderCodesPerRev((short)20);
canJaguar.setPID(10, 0.02, 0.02);
canJaguar.enableControl(0);
while(true)
{
canJaguar.set(100);
try
{
Thread.sleep(10);
}
catch(InterruptedException excep)
{}
}
|
|
#7
|
||||
|
||||
|
Re: Jaguar Non-FRC Firmware
Quote:
I want to make sure I understand clearly what you are saying: - who does the pronoun "We" [1] refer to? TI or FRC? - do [2] and [3] refer to the same firmware? If not, can you please post a link to the "FRC" firmware? - where can the "FRC version" of BDC-COMM [4] be downloaded ? Thanks. |
|
#8
|
|||
|
|||
|
Re: Jaguar Non-FRC Firmware
TI
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Jaguar Firmware: Version 91 | dyanoshak | CAN | 6 | 06-11-2010 13:25 |
| New Jaguar Firmware: Version 90 | dyanoshak | CAN | 3 | 24-03-2010 11:41 |
| New Jaguar Firmware: Version 89 | dyanoshak | CAN | 10 | 24-02-2010 10:10 |
| Bricked black Jaguar after bad firmware update | FRC4ME | CAN | 13 | 19-02-2010 16:52 |
| FRC CompactRIO firmware upgrade help | mole | Programming | 8 | 17-01-2009 18:46 |