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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

United Kingdom
#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.