View Single Post
  #2   Spotlight this post!  
Unread 14-02-2011, 12:44
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive in Autonomous mode and Tank Drive in Teleop mode?

Simple answer: yes.

The number of motors is actually set in Begin when the drive motors are opened. The default project uses Open 2 Motor Drive. You can replace that with Open 4 Motor Drive.

Once you've done that, any of the drive functions will control it appropriately. Arcade Drive and Tank Drive do exactly what they should. (If you've built a holonomic drivebase with mecanum or angled omniwheels, Holonomic Drive will work too.)
Reply With Quote