View Single Post
  #23   Spotlight this post!  
Unread 12-12-2013, 15:31
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Re: R/C car pistol grip style controller

Quote:
Originally Posted by yash101 View Post
I guess this could work with swerve, but wouldn't be very intuitive. Otherwise, as I have been reading, for regular Ackerman and tank drive, it seems like the best control. How would you code tank drive to use this? Would you have the accelerator controlling the speed of both sides, and the turn wheel controlling the delta in motor speeds?
Swerve is the drivetrain, the control type (holonomic/omnidirecitonal/etc) requires 3 inputs: translation in the x/y plane and rotation. You have only two inputs with the pistol grip, so you cannot control all three DoFs of an omnidirectional setup with a pistol grip controller.

Arcade and tank are two control types as well - the drivetrain is a skid-steer. You are mapping two inputs to two outputs: arcade requires a linear input and a rotational input, and tank requires two linear inputs. The output is the same for both (left and right sides of drivetrain). Since you are using a wheel (rotational) and a trigger (linear), you are using "arcade" style control and should code it appropriately.

I'll add myself to the list of pistol grip supporters.
__________________
Reply With Quote