This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
02: Teleoperation and Navigation
Luke Schmitt edited this page Sep 14, 2021
·
3 revisions
The Turtlebot 2i supports the turtlebot_teleop package which works with multiple input devices. You must first start the kobuki base controllers by running any launch file that contains mobile base startup. Then, choose your input device and run either command below:
-
To control the robot base with a keyboard launch:
roslaunch turtlebot_teleop keyboard_teleop.launch
-
To control the robot base with a PS3 controller launch:
roslaunch turtlebot_teleop ps3_teleop.launch
With the TurtleBot localized, it can autonomously plan through the environment.
To send a goal:
- Click the "2D Nav Goal" button
- Click on the map where you want the TurtleBot to drive and drag in the direction the TurtleBot should be pointing at the end. This can fail if the path or goal is blocked.
If you want to stop the robot before it reaches it's goal, send it a goal at it's current location.