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

asked 2019-06-19 02:17:49 -0500

Tima15 gravatar image

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!

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Tima15
close date 2019-06-19 10:35:47.547752