Quote:
Originally Posted by jls667
It turns out my team wants to use Talon SRX with CAN signaling. Here is what I think needs to be done to run Rhino Drive:
1. Each Talon SRX would need a different id.
2. Each Talon SRX would need to be daisy chained.
3. Since my team want 3 motors on each side of the Rhino Drive, we will need 6 Talon SRX controllers.
How do I program 3 motors for left and 3 motors for right? Do I setup RobotDrive1, RobotDrive2 and RobotDrive3 each for 2 motors?
Thanks.
|
Quick example here.
https://github.com/CrossTheRoadElec/...bot/Robot.java
Basically uses robot drive which takes four CANTalons. Then create two more CANTalons and slave them.
Use tankDrive instead of arcadeDrive.
Alternatively you could just create six CANTalon and directly call Set() to manipulate the motor outputs directly, or to use the advanced control modes (speed/position/vcomp/currentDraw/motionProfile).