Changes
Page history
Update Turtlebot3
authored
Oct 09, 2021
by
Fabien BADEIG
Show whitespace changes
Inline
Side-by-side
Turtlebot3.md
View page @
2c5fd759
...
@@ -74,9 +74,9 @@ From the remote PC, connect to the Burger by ssh:
...
@@ -74,9 +74,9 @@ From the remote PC, connect to the Burger by ssh:
Add the following lines in the .bashrc of the Burger to define the necessary environment variables for runnning ROS:
Add the following lines in the .bashrc of the Burger to define the necessary environment variables for runnning ROS:
```
plaintext
```
plaintext
+
export TURTLEBOT3_MODEL=burger
export TURTLEBOT3_MODEL=burger
+
export ROS_MASTER_URI=http://IP_OF_SERVER_RUNNING_ROSCORE:11311
export ROS_MASTER_URI=http://IP_OF_SERVER_RUNNING_ROSCORE:11311
+
export ROS_HOSTNAME=IP_OF_BURGER
export ROS_HOSTNAME=IP_OF_BURGER
```
```
Reinitialize the environment of your Burger:
Reinitialize the environment of your Burger:
...
@@ -93,7 +93,9 @@ Reinitialize the environment of your Burger:
...
@@ -93,7 +93,9 @@ Reinitialize the environment of your Burger:
(Remote PC)>roscore
(Remote PC)>roscore
```
```
*
Starting the burger
*
Starting a real robot burger
Define a specific namespace for each robot and initialize two parameters
*multi_robot_name*
and
*set_lidar_frame_id*
with the same namespace name
```
plaintext
```
plaintext
(Remote PC)>ssh pi@{IP_ADDRESS_OF_BURGER}
(Remote PC)>ssh pi@{IP_ADDRESS_OF_BURGER}
...
@@ -101,7 +103,7 @@ Reinitialize the environment of your Burger:
...
@@ -101,7 +103,7 @@ Reinitialize the environment of your Burger:
(Remote PC)>[ROS_NAMESPACE=myspace] roslaunch turtlebot3_bringup turtlebot3_remote.launch multi_robot_name:=myspace
(Remote PC)>[ROS_NAMESPACE=myspace] roslaunch turtlebot3_bringup turtlebot3_remote.launch multi_robot_name:=myspace
```
```
*
Us
ing a simulated burger with _gazebo_
*
Start
ing a simulated
robot
burger with _gazebo_
```
plaintext
```
plaintext
(Remote PC)>roslaunch turtlebot3_gazebo turtlebot3_world.launch
(Remote PC)>roslaunch turtlebot3_gazebo turtlebot3_world.launch
...
...
...
...