View Single Post
  #4   Spotlight this post!  
Unread 22-02-2010, 18:07
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Holonomic Drive with one joystick

HolonomicDrive(joystick->GetMagnitude(), joystick->GetDirectionRadians(), joystick->GetZ());

Be careful on the GetZ parameter to make sure that's the correct axis you want for the "twist". On my Microsoft SideWinder joystick, the "Twist" is Z. It may be different on your joystick.
Reply With Quote