|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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?
|
|
#2
|
||||
|
||||
|
Re: Run Jaguar's through PC
Quote:
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
||||
|
||||
|
Re: Run Jaguar's through PC
Quote:
Last edited by Ether : 30-12-2011 at 21:53. |
|
#6
|
||||
|
||||
|
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
|
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
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 |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
||||
|
||||
|
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.
|
|
#11
|
|||||
|
|||||
|
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.
|
|
#12
|
|||
|
|||
|
Re: Run Jaguar's through PC
Quote:
-Joe |
|
#13
|
|||
|
|||
|
Re: Run Jaguar's through PC
There is more to it, but the differences are either described in my post above or are specific to the FIRST version of the firmware, which you should not use if controlling the Jags from your PC.
|
|
#14
|
||||
|
||||
|
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 |
|
#15
|
||||
|
||||
|
Re: Run Jaguar's through PC
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|