Commit f66e80e2 authored by CANNERE Xavier's avatar CANNERE Xavier
Browse files

3.3

parent e965f1e1
......@@ -11,5 +11,5 @@ Welcome to my ROS2 Tutorial!
./topic1/t1.rst
./topic2/t2.rst
./model3.rst
./topic3/model3.rst
......@@ -29,15 +29,15 @@ Import your model and put shapes in front of
*You can make a world like this*
Click at the left top on ``file`` then on ``save world as`` and save your world in a new folder at (``mkdir ~/Bureau/ws/worlds``) as world1.world
Click at the left top on ``file`` then on ``save world as`` and save your world in a new folder at (``mkdir ~/ws/worlds``) as first_world.world
Step 2 : Create the launcher
----------------------------
Type on a terminal::
mkdir ~/Bureau/ws/launch
cd ~/Bureau/ws/launch
mkdir ~/ws/gazebo/launch
cd ~/ws/gazebo/launch
gedit launcher.py
And into launcher.py paste that::
......@@ -60,7 +60,7 @@ And into launcher.py paste that::
description='Use simulation (Gazebo) clock if true'),
ExecuteProcess(
cmd=['gazebo', '--verbose', '-s', 'libgazebo_ros_factory.so','../worlds/world1.world'],
cmd=['gazebo', '--verbose', '-s', 'libgazebo_ros_factory.so','../worlds/first_world.world'],
output='screen'),
])
......@@ -68,12 +68,11 @@ And into launcher.py paste that::
Step 3 : Test your launcher!
----------------------------
Make sure you are in ``~/Bureau/ws/launch`` folder and type on a terminal::
Make sure you are in ``~/ws/gazebo/launch`` folder and type on a terminal::
ros2 launch launcher.py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment