Joystick skid steer
bennettdan
Posts: 614
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?
·· 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
·· 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