Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try to connect different obstacles/ moving objects in a launch file

Hey,

I just tried to combine the typical worlds, provided by the turtlebot3 tutorials. There, I tried to introduce the moving obstacles of world 3 to world 4 in a "new" world. But when I try to Change to .launch file, I get the error

[turtlebot3_stage_neu.launch] is neither a launch file in package [turtlebot3_gazebo] nor is [turtlebot3_gazebo] a launch file name

I just tried to add the extra line from the third world for the moving obstacles to the fourth world launch file and saved that one under a new name. Then I sourced it and did catkin_make. Still it is not working. In the following you can see the launch file:

<launch>
   <arg name="stage" default="neu"/>
   <param name="stage_number"  value="$(arg stage)"/>
   <node pkg="turtlebot3_dqn" type="turtlebot3_dqn_stage_4" name="turtlebot3_dqn_stage_4" output="screen" />
  <node pkg="turtlebot3_dqn" type="combination_obstacle_1" name="combination_obstacle_1" output="screen" />
   <node pkg="turtlebot3_dqn" type="combination_obstacle_2" name="combination_obstacle_2" output="screen" />
   <node pkg="turtlebot3_dqn"  type="moving_obstacle" name="moving_obstacle" output="screen" />
 </launch>

Thanks for your help!