Skip to content

Commit 5f1a68b

Browse files
committed
Improve MoveIt Servo tutorial with joy teleop instructions.
1 parent 661c0b2 commit 5f1a68b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

doc/realtime_servo/realtime_servo_tutorial.rst

+12-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ An `rqt_graph` of the servo node is shown below (Enlarge by clicking it). Most o
114114
.. image:: servo_rqt_graph.png
115115
:width: 700px
116116

117-
Configuring Control Devices (Gamepads, Joysticks, etc)
117+
Configuring Control Devices (Gamepads etc.)
118118
------------------------------------------------------
119119
The ``moveit_servo/config`` folder contains two examples of converting `SpaceNavigator <https://www.3dconnexion.com/spacemouse_compact/en/>`_ 3D mouse commands to servo commands. ``spacenav_teleop_tools.launch`` loads a config file then publishes commands to the servo node on the ``spacenav/joy topic``. It is easy to create your own config file for a particular joystick or gamepad.
120120

@@ -152,7 +152,18 @@ See the following video for an example usage:
152152
<iframe width="700" height="385" src="https://www.youtube.com/embed/BOcKcjQli3o?si=w0dULrQFJ6G7sIJ9" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
153153
</div>
154154

155+
Configuring Joystick as a Control Device
156+
------------------------------------------------------
157+
As an alternative, you can use a joystick to control the robot. Assuming you have already compiled the workspace and sourced it, simply run. ::
158+
159+
roslaunch ur5_moveit_tutorials ur5_moveit_servo_w_joy.launch
160+
161+
See the following video for an example usage:
162+
.. raw:: html
155163

164+
<div style="position: relative; padding-bottom: 5%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
165+
<iframe width="700" height="385" src="https://www.youtube.com/embed/aad-QAYJP2c?si=B-kePIpuu0dpc8gq" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
166+
</div>
156167

157168
Integration Testing
158169
-------------------

0 commit comments

Comments
 (0)