Quote:
Originally Posted by Hieb
As far as manuverability, I think that joysticks give more options while turning (tight turn radius/0 turn radius and so on). On the other hand, if the driver never makes use of all of the options available and can effectively drive using the steering wheel, then by all means go for it.
|
The robot has the same options for turning no matter what you go with--all you're changing is how you tell the robot to do it.
Assume you have one joystick for throttle forwards and backwards, then one steering wheel to determine rate of rotation. Calculate the difference in PWM values needed given the position of the wheel, then add in the throttle values. Since this might throw the PWM values out of the valid range, add in some code to scale back the numbers until neither is over 254 (or below zero).
IANAP (I Am Not A Programmer), but this would be how I'd attack the problem for a basic drive system without feedback or anything--those folks who actually know what they're talking about can elaborate there.