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
Follow the instructions in the terminal to control your rover. To speed things up, try tweaking the parameters in the command.
238
-
Little Red Rover can go *much* faster than what I've started you out with.
239
-
240
-
After playing around a bit, you may find the controls a bit clunky.
241
-
Worry not! We'll fix this in the next tutorial, and even cover how to use a controller.
242
-
243
238
> [!INFO]
244
239
> **Whats going on here?**
245
240
>
246
-
> This command runs a node that converts key presses into a [ROS Twist message](https://docs.ros.org/en/melodic/api/geometry_msgs/html/msg/Twist.html). This message it published on the topic `/cmd_vel`, where the rover is subscribed for teleop commands. Several parameters are passed, adjusting the linear and angular speeds to be appropriate for the robot. We also pass the `_key_timeout` parameter, which makes the rover stop whenever you let go of the keys.
241
+
> This command runs a node that converts key presses into a [ROS Twist message](https://docs.ros.org/en/melodic/api/geometry_msgs/html/msg/Twist.html). This message it published on the topic `/cmd_vel`, where the rover is subscribed for teleop commands. In a third terminal, try running this command to see what the node is outputting:
242
+
>
243
+
> ```rostopic echo /cmd_vel```
244
+
>
245
+
> Several parameters are passed, adjusting the linear and angular speeds to be appropriate for the robot. We also pass the `_key_timeout` parameter, which makes the rover stop whenever you let go of the keys.
246
+
247
+
> [!TIP]
248
+
> To speed things up, try tweaking the parameters in the command.
249
+
> Little Red Rover can go *much* faster than what I've started you out with.
250
+
251
+
After playing around a bit, you may find the controls a bit clunky.
252
+
Worry not! We'll fix this in the next tutorial, and even cover how to use a controller.
0 commit comments