View Single Post
  #1   Spotlight this post!  
Unread 31-05-2007, 12:52
Devo1098 Devo1098 is offline
Registered User
FRC #1098
 
Join Date: Feb 2007
Location: Wildwood
Posts: 36
Devo1098 is just really niceDevo1098 is just really niceDevo1098 is just really niceDevo1098 is just really niceDevo1098 is just really nice
mecanum joystick selector?


i have a mini mecanum bot, im trying to program it (programming is not my area, building is)

i need it to do single stick drive , then when i click the trigger of that stick, and move the stick sideways, the robot will go sideways.

i thought it would need two drive codes one for sideways and one for skidsteer, and a simple if statment between them.(this didnt work)

im pretty shure my concept works, i jsut need a little help putting it into code, could someone translate this into C, or shoot me in the right direction? or if this is the totally wrong way to do this, help?

IF (trigger pushed in)
then (do sideways code)
otherwise (do skid steer code)

Devo

Edit: i dont need mixing values or mecanum code, im having trouble with a selector.

Last edited by Devo1098 : 31-05-2007 at 13:40.