You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ros2 run teleop_twist_keyboard teleop_twist_keyboard
36
+
```
31
37
{% endtab %}
32
38
{% tab install_apt humble %}
33
39
```bash
34
40
sudo apt install ros-humble-teleop-twist-keyboard
35
41
```
42
+
43
+
Once installed, run the node by calling:
44
+
45
+
```bash
46
+
ros2 run teleop_twist_keyboard teleop_twist_keyboard
47
+
```
36
48
{% endtab %}
37
49
{% tab install_apt jazzy %}
38
50
```bash
39
51
sudo apt install ros-jazzy-teleop-twist-keyboard
40
52
```
41
-
{% endtab %}
42
-
{% endtabs %}
43
53
44
54
Once installed, run the node by calling:
45
55
46
56
```bash
47
-
ros2 run teleop_twist_keyboard teleop_twist_keyboard
57
+
ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args -p stamped:=true
58
+
```
59
+
60
+
```note
61
+
In Jazzy onwards, the preference is to use stamped messages for control. By default the `teleop_twist_keyboard` package uses unstamped messages. Therefore the `stamped` parameter must be set to `true` manually when starting the node.
48
62
```
63
+
{% endtab %}
64
+
{% endtabs %}
49
65
50
66
This will start a CLI interface which allows you to press keys to command the robot to drive.
51
67
@@ -84,6 +100,25 @@ Both the keyboard and joystick teleop methods work by sending velocity commands
84
100
85
101
You can manually publish to this topic through the command line by calling:
86
102
103
+
{% tabs manual_pub %}
104
+
{% tab manual_pub galactic %}
105
+
```warning
106
+
**ROS 2 Galactic is no longer supported.** Please consider upgrading to a newer release
0 commit comments