Quote:
Originally Posted by GrizBear
I had this struggle because I wanted to open four motors for the mecanum drive. This is what worked for me:
Download the CTR SRX libraries.
Modify the open 4motor vi by replacing the open motors, with the open motors from the srx palette. Replace variable accordingly.
If you have any questions on the exact process, let me know, I'd love to help.
|
You should not have to modify any existing sub-VIs to have CAN Talon SRX work with the Open 2/4 Motor VIs. In fact, I would definitely recommend
not doing these modifications unless you are extremely proficient in LabVIEW.
To use CAN Talon SRX with these multi-motor Open VIs, wire the output of the Talon SRX Open VI to the input of the Open 2/4 Motor VI when "Existing Motors" is selected from the drop-down. There is an example of this in our LabVIEW Simple Arcade Drive Example on
GitHub.
__________________
FiM Volunteer
Since 2015: Controls Mentor for FRC 4130, The Blue Devils (Richmond, MI)
2009-2014: FRC Team 1718, The Fighting Pi
Full Disclosure: I am an Engineer for
CTR Electronics