View Single Post
  #2   Spotlight this post!  
Unread 25-01-2017, 17:30
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,750
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
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.)
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote