![]() |
Run Jaguar's through PC
Hello, I got 2 Black Jags for Christmas for my personal robot project, is there any code out there to run the Jags via CAN Bust hat will run on the PC?
|
Re: Run Jaguar's through PC
Quote:
|
Re: Run Jaguar's through PC
Are you using the factory default firmware for the FIRST firmware? I guess the former otherwise you might already know about bdc-comm.
The CD with software for the Jaguar (*non* FIRST) can be downloaded here: http://www.ti.com/tool/rdk-bdc24-cd On it should be the stock version of bdc-comm which is a Windows application that lets you communicate over a serial connector to the Net/Serial connector of a Black Jaguar via adaptor. See the Getting Started Guide for more info. |
Re: Run Jaguar's through PC
is there a way to import these libraries into LabVIEW? What I'm going for is to make my laptop into a robot controller.
|
Re: Run Jaguar's through PC
1 Attachment(s)
Quote:
|
Re: Run Jaguar's through PC
I tried it but the C library it needs to run is missing, I don't think my labview is installed correctly on this computer anyway
|
Re: Run Jaguar's through PC
Quote:
Worst case, the serial protocol and CAN protocol should be documented, so with some work you should be able to make your own library for it or find someone else's. |
Re: Run Jaguar's through PC
As mentioned, the WPILib CAN VIs are customized for FRC and so is the Jag firmware. These customizations are largely for a safety heartbeat mechanism, but also take care of bridging the CAN traffic over either enet or serial.
Perhaps http://www.ti.com/lit/ug/spmu065b/spmu065b.pdf or www.luminarymicro.com/jaguar will be useful. Greg McKaskle |
Re: Run Jaguar's through PC
Quote:
It's not exactly trivial, but it shouldn't take much effort. All the needed info is available. Good luck! -Joe |
Re: Run Jaguar's through PC
I was wondering if I could just swap the can just swap that code with the VISA serial, I was afraid there was more to that C-RIO code then just sending serial data. I will go try this. I will let you know of any breakthroughs.
|
Re: Run Jaguar's through PC
Also keep in mind that the PHYSICAL layer of a CAN Bus cannot be produced by a PC without some additional hardware. USB, Serial, Parallel, FireWire, etc all use different voltages from the Jaguar's CAN implementation.
|
Re: Run Jaguar's through PC
Quote:
-Joe |
Re: Run Jaguar's through PC
Quote:
|
Re: Run Jaguar's through PC
If you are using the 2CAN the Jaguars may be run using the Cross-link Control Software for Windows or uCANdrive for Android. Both are available as a free download, the RCS is open source. uCANDrive is also available on the Android Market.
The RCS installer is located under Downloads: http://www.crosstheroadelectronics.com/Cross_link.html http://www.crosstheroadelectronics.com/uCANDrive.html |
Re: Run Jaguar's through PC
Quote:
|
Re: Run Jaguar's through PC
Quote:
|
Re: Run Jaguar's through PC
do you know where i can get the documentation on how the data is sent to the Jag by RS232, i need to know things like how the data is organized. for example, in the LabVIEW code there is a input into the "FRC_Communication" that is the data size, is that sent over or is is used just for that program. If I can get that information I just might get that old wheelchair running autonomously
|
Re: Run Jaguar's through PC
I wish I had much to add, but my guess would be to somehow reverse engineer the serial can structure in the FRC code.
either that, or PWM it. PWM control with boe bots was easy, (driving PWM wheel servos) as all you did was send pulse rates to a digital output (in hz IIRC), ranging from 6500 (full reverse) to 8500 (full forward), with 7500 being neutral (stop). In fact, IIRC, the original IFI controllers used the same BASIC STAMP controller as boe bots... for that matter, if you knew C (like I will after the next few months), you could obtain a second hand later generation IFI controller and drive them that way. |
Re: Run Jaguar's through PC
From my previous work with networking, the easiest way for me would just be just to use wireshark and reverse engineer the packets being sent. Since CAN is just networking it should be pretty simple. The only thing I could for-see holding you back would be the packets being encrypted.
|
Re: Run Jaguar's through PC
Quote:
http://firstforge.wpi.edu/integratio...ystem=exsy1002 It implements the serial protocol you need. Joe |
| All times are GMT -5. The time now is 03:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi