Shop OBEX P1 Docs P2 Docs Learn Events
Joystick skid steer — Parallax Forums

Joystick skid steer

bennettdanbennettdan Posts: 614
edited 2006-06-20 18:11 in Robotics
Hello,
·· I have a two axis joystick with 10k pot outputs and I would like to operate a robot with two motors setup as a skid steer platform I can make it move forward and back easiy enough but want to control left to right by slowing down one of the motors compared to the other anyone have any code examples to look at?

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-06-20 15:34
    Hello,

    ·· You could connect the joystick up as an RC circuit and use RCTIME to get the values, then you can use the following code as a basis for the math needed to mix the results and control the motors.· Can't be more specific since I don't know what motors or drive system you're using or how they're controlled.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • bennettdanbennettdan Posts: 614
    edited 2006-06-20 18:11
    I have to H-bridges setups controlled by digital pots and direction control pins from the stamp. I see that you are using math to keep the target zero point I think I can use that part of your program and do what I want. Thanks
Sign In or Register to comment.