![]() |
Programming with CAN Jaguars
We have decided to switch over from PWM control of the Jaguars on our robot to CAN. Unfortunately I have know idea how to program with CAN Jaguars in Java.
Can you please provide some basic sample code with initialization, and a set method? Thanks, Sasha P.S. When we first began with this declaration: PHP Code:
|
Re: Programming with CAN Jaguars
:) id be happy to
Code:
CANJaguar motor1, motor2, motor3, motor4; |
Re: Programming with CAN Jaguars
Keep in mind that it is strongly suggested not to use ID = 1 (and I think the max ID is 16 but would have to look it up). You could number your motors 2,3,4,5 for example. The ID numbers need to be set in the jaguars using the BDC-Comm software on a PC with a serial port connected to the input side of a black jaguar.
|
Re: Programming with CAN Jaguars
Quote:
The maximum ID number is 63. -David |
| All times are GMT -5. The time now is 10:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi