View Single Post
  #3   Spotlight this post!  
Unread 21-02-2010, 13:18
/*P4bl0*/'s Avatar
/*P4bl0*/ /*P4bl0*/ is offline
Registered User
FRC #0231
 
Join Date: Apr 2008
Location: Pasadena Tx.
Posts: 12
/*P4bl0*/ can only hope to improve
Re: switching the x & y on joy stick

ok i may be saying some thing wrong or i dont get what your saying (this is my first year mostly alone on getting this to work) ok i have this

m_robotDrive.holonomicDrive(m_rightStick.getMagnit ude(), m_rightStick.getDirectionDegrees(), m_leftStick.getX());

in the code and its the only places i have the joystick input i dont want to change the left stick at all i tried swiching m_rightStick.getMagnitude() and m_rightStick.getDirectionDegrees() but it goes hay wire and i did not change anything else.

were using mecanum wheels and i have them on inputs of

front
4 2
1 3
back

some how it works but i just have the x and y mest up ..
i might be giving random info and not making any scenes
Reply With Quote