Bing Speech Recognition icon Bing Speech Recognition Accurate Bing cloud speech-to-text for ARC: wake-word, programmable control, $BingSpeech output, Windows language support, headset compatible Try it →
Asked — Edited

Joystick Control

Hi All.

As far as I can tell, the joystick control is all-or-none movement. Is there a way to make it such that a small movement of the stick translates to a slow movement of the wheels (and a progressively larger deviation of the stick produces a faster wheel rotation)? I'm using a sabertooth H bridge, if that makes any difference.

Also, is there a way to make the left stick move forward/back and the right stick turn left/ right?

thanks in advance,

Frank


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

There may be an easier way than this (but it's late, I'm tired and I don't have my joystick connected to test it out)

The joystick control adds variables of $JoystickX1 $JoystickY1 etc. so with an EZScript and some IFs and ELSEIFs you should be able to make it set speed of the PWM for the hbridge, giving you the ability to do what you have asked.

I'll have a proper look at it once I've had some sleep if nobody else has a better solution.