Joystick
The Joystick module provides you a way to interface a joystick to your robotic projects. This can be
useful if you need a manual override or to provide suggestions to your control program. It is also useful
for testing out mechanical designs prior to automatic control.
As there are many joysticks with different capabilities this module attempts to capture the basics
of what might be needed. You can edit the interface and try moving your joystick around to see how the
stick, buttons and levers change values in the interface. From that you can map the values into RoboRealm
variables that are used within other modules to perform certain actions.
Interface
Instructions
1. Specify the variable that you would like to be set with the corresponding joystick value. You can
either type in a new variable name or use an existing one from the dropdown menu.
Example
The interface above has been configured to assign the joystick X coordinates to a variable called "joy_x", Y to "joy_y" and
the fire button to the variable "fire".
For more information
USB Missile Launcher Tutorial
|