|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Arcade Drive Xbox Controller Drive Train
We have four talon motors, two on each side of the chassis and would like to code all movement to be on the left joystick of an Xbox Controller. We have been having issues and aren't really sure how to do so. Most posts and steps only account for two motors, not sure how to have arcade drive with four.
|
|
#2
|
|||||
|
|||||
|
Re: Arcade Drive Xbox Controller Drive Train
Assuming you have a regular skid steer drive train with two motors on each gearbox, just duplicate all of the code for the existing motors and change the object names to the new controllers (e.g. by appending a 2 to the name). Then in the motor initialization code, make sure you change the addresses to the second talons on each side. If this isn't clear, post your code and we can be more specific. (There are so many variables of motor controller type, CAN vs PWM, etc.)
|
|
#3
|
|||
|
|||
|
Re: Arcade Drive Xbox Controller Drive Train
The other option, assuming your ESC has it, is to use a follower mode (9.1). Any other help is really dependent on your code.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|