|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CAN Jaguars and Software setting of Brake Coast
I think, I've got this correct, however, I'm not 100% certain, when it comes to parsing out the needed data.
What we are doing is setting BRAKE mode for Autonomous, and COAST mode for Teleop regardless of the jumper settings on the Jaguars. We perform an open 4 motor CAN Jaguar in BEGIN.VI, we are using ID's 2-5. In Autonomous we take the Drive Device Ref, do an un-bundle by name for the motors[] array, select out the first for elements, passing that to CAN Jaguar Config Brake Coast.VI, setting each to BRAKE for Autonomous and COAST for Teleop. I've attached a jpg showing an overview of what I'm doing. The questions I have are: 1) Are the element numbers in the Motors[] array equal to the CAN ID of the Jaguar, or are they simply the first 4 elements as I assuming. 2) Is this a valid way to perform this given my sample 3) Is there anything else I might be missing or forgetting. Thanks. |
|
#2
|
||||
|
||||
|
Re: CAN Jaguars and Software setting of Brake Coast
looks good, though you could also use a for loop with the auto-indexing. I've done that multiple times.
That reminds me, the drivers were complaining I set the motors to be in coast mode. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|