It is easy to use a Playstation joystick to control robots running the Isaac SDK, but other controllers can also be used.
Calibrate your Playstation joystick with the following steps.
Install the joystick calibration program with the following command:
sudo apt-get install joystick
Pair the joystick as a Bluetooth peripheral.
Run the calibration program with the following command:
Find your joystick and note the device ID for later.
Select your joystick and click Properties.
Click Calibration and follow the instructions.
Store the calibration with the following command:
sudo jscal-store /dev/input/js0
If you are not using a PlayStation joystick, your keys may be mapped differently.
To remap, if needed, run the following command on the robot:
bob@jetson:~/$ sudo apt install jstest-gtk
Run the jstest-gtk application and double click on your joystick in the interface, similar to what is shown below:
Use the buttons and other controls on your joystick to determine which of them trigger which controls in this interface:
Click mapping to remap controls. Or, in isaac.navigation.RobotRemoteControl, update manual_button, autonomous_button, move_axes, and rotate_axes values as desired. for more information, see Component API Overview.