The aim of this tutorial is to introduce how to control a SIGVerse robot using Joystick. The example below allows to control a robot in 4 directions: moving forward, backward, turning left and right.
Download and install Microsoft directx sdk
The controller receives data from the joystick service as messages using the joystick, sets the corresponding velocity then sends the command to the robot.
joystick.cpp:
The service receives data from the joystick, for each button of the joystick corresponds an action, the allowed actions are: move forward, move backward, turn left and turn right, when a button is pressed, the appropriate message is sent to the controller to move the robot.
Joystick_Service.cpp
To download the plugin:
joystickWorld.xml
To download the project from GIT repository, use the following link:
git@socio4.iir.nii.ac.jp:~/SigverseGitServer/unstable/usersContribution/tafifet/joystick_service.git
Tutorial?