View Single Post
  #1   Spotlight this post!  
Unread 28-01-2011, 19:51
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Single Joystick Tank Drive

I can't find the related documentation/source (I'll keep looking and revise my answer as necessary), but it's probably not possible to do with the pre-made TankDrive class. And actually, I see more in common with the ArcadeDrive and your desired style than Tank.

I would say that you'll either need to find some code a previous team wrote or extend Tank/ArcadeDrive (or just starting from scratch, it'll end up being a combination of both, really). And take the ArcadeDrive code but set the two sets of motors depending on the combination of x,y values.
Reply With Quote