View Single Post
  #12   Spotlight this post!  
Unread 23-02-2012, 18:43
touchdownjesus4's Avatar
touchdownjesus4 touchdownjesus4 is offline
Registered User
AKA: Tyler Vonderhaar
FRC #4028 (Eagle Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
touchdownjesus4 is on a distinguished road
Re: Tank or arcade drive?

Quote:
Originally Posted by Ether View Post
left_wheels = (ForwardCommand + ClockwiseRotationCommand)/2

right_wheels = (ForwardCommand - ClockwiseRotationCommand)/2


ForwardCommand and ClockwiseRotationCommand are -1 to +1.


ok so the clockwise rotation command would come from the right joystick and the forward command from the left..

Would you just have the motor set at that speed given by the formula you gave?

Also, why are the values divided by 2?
Reply With Quote