I'm working with a Wild Thumper 6 wheel chasis that is designed for use with an RC controller. However I'd like to have a mapping to a keyboard for control as well. Can you suggest a set of keys and behaviors that you've used to deal with the continuous value control normally offered by a joystick or pair of joysticks? The standard wasd keys + an accelerate/decelerate pair? I'd also take a pointer to a videogame that you think does this well.

  • $\begingroup$ Left Shift for accelerate and left Ctrl for deccelerate might work. $\endgroup$ Oct 23 '12 at 21:04
  • $\begingroup$ There is some bug on this site, so I can't post answer... In my project I use WADS, W and S controlling linear velocity with constant acceleration up to maximum, A and D controling angular velocity with constant acceleration, again up to a maximal value. Basically I simulate slowly moving a joystick with the keyboard. You could also not use constant acceleration, but constant jerk, if you need smoother control. Also if your robot is a car, or you want it to behave more like one, you could set the A and D keys to control turn radius instead of angular velocity. $\endgroup$
    – cube
    Jan 16 '14 at 9:25

Assuming you don't have other functionality that would take precedence, I would use WASD for movement and Left/Right arrows or mouse buttons for accelerating. Having the controls be divided that way mimics the conventional movement/action interface seen in many video games, while letting the user control the speed in parallel to motion.

However, ultimately, the right answer is whatever is most comfortable/intuitive. The above is what I'd try first, but the real best answer is getting user feedback.

  • $\begingroup$ +1 for WASD. It's what I would have said. $\endgroup$ Oct 24 '12 at 21:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.