Ask Your Question
0

Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/opt/ros/melodic/share/gazebo_ros/launch/launch/gazebo_empty_world.launch'

asked 2020-02-21 04:43:05 -0500

updated 2020-02-21 07:46:25 -0500

gvdhoorn gravatar image

launch file:

<launch>

  <arg
  name="model" 
  default="$(find kct_robot)/urdf/kct_robot.xacro"
  />


    <arg name="world"
         default="$(find gazebo_plugins)/test2/worlds/empty.world"/>
<include file="$(find gazebo_ros)/launch/launch/gazebo_empty_world.launch">

    </include>

<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />

 <node
    name="joint_state_publisher"
    pkg="joint_state_publisher"
    type="joint_state_publisher" />
  <node
    name="robot_state_publisher"
    pkg="robot_state_publisher"
    type="state_publisher" />

  <node
    name="spawn_model"
    pkg="gazebo_ros"
    type="spawn_model"
    args="-x 1.3644922
      -y 3.0975677
      -z 0.0
      -R 0.0
      -P 0.0
       -Y -3.14
 -urdf  

  -param robot_description -model robot_base"

    output="screen" />

</launch>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-22 07:55:11 -0500

Dragonslayer gravatar image

try: <include file="$(find gazebo_ros)/launch/gazebo_empty_world.launch">

Your File has .../launch/launch/... in it, doesnt seem normal to me.

edit flag offensive delete link more

Comments

Thank you. I solved the problem

TVJ gravatar image TVJ  ( 2020-02-24 00:33:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-02-21 04:43:05 -0500

Seen: 26 times

Last updated: Feb 22