ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

could not open world file

asked 2020-06-27 04:50:38 -0600

me_saw gravatar image

updated 2020-06-27 04:53:23 -0600

world file

<?xml version="1.0"?>
    <sdf version="1.6">
      <world name="default">
        <model name="my_mesh">
          <pose>-80 -80 0  0 0 0</pose>
          <link name="body">
            <visual name="visual">

this is file

  <include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" value=""/>
    <arg name="verbose" value="true"/>

this is my launch file

when I launch this it shows me an error as

[Err] [] Could not open file[]

but when spawn using


there is no error and it's spawning correctly. what could be the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-06-27 06:37:39 -0600

xibeisiber gravatar image

you need to give the path of "":

arg name="world_name" value="/path/"

edit flag offensive delete link more


Thanks, that was the problem

but now when I'm trying to launch it gives this error

[Wrn] [] URI not supported by Fuel [model.dae]
[Wrn] [] File or path does not exist [""] [model.dae]
[Wrn] [] URI not supported by Fuel [file://model.dae]
[Wrn] [] File or path does not exist [""] [file://model.dae]
[Err] [] No mesh specified
me_saw gravatar image me_saw  ( 2020-06-27 06:50:02 -0600 )edit

maybe you also need to set the path of model.dae... like this:

      </geometry>enter code here
xibeisiber gravatar image xibeisiber  ( 2020-06-27 07:00:19 -0600 )edit

@xibeisiber got it thank you

me_saw gravatar image me_saw  ( 2020-06-27 08:05:16 -0600 )edit

Question Tools

1 follower


Asked: 2020-06-27 04:50:38 -0600

Seen: 2,096 times

Last updated: Jun 27 '20