khancyr / ardupilot_gazebo

GNU General Public License v3.0
57 stars 254 forks source link

Could not open file[worlds/iris_ardupilot_multi.world] #30

Open ans-qureshi opened 4 years ago

ans-qureshi commented 4 years ago

Hi! I have the file worlds/iris_ardupilot_multi.world available but I am still getting this error. I used the command gazebo --verbose worlds/iris_ardupilot_multi.world

acxz commented 4 years ago

Hi @romi-seecs can you give the entire runtime log/output on the command line.

liuyulovecode commented 4 years ago

Hi! I have the file worlds/iris_ardupilot_multi.world available but I am still getting this error. I used the command gazebo --verbose worlds/iris_ardupilot_multi.world

hello,i come up with this problem too.i turn down the wifi,then use the command,it works.

ans-qureshi commented 4 years ago

Hi @acxz here is the log:

ans@ans-B365M-GAMING-HD:~$ gazebo --verbose worlds/iris_ardupilot_multi.world Gazebo multi-robot simulator, version 9.13.1 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.137.224 Gazebo multi-robot simulator, version 9.13.1 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 192.168.137.224 [Wrn] [FuelModelDatabase.cc:248] URI not supported by Fuel [worlds/iris_ardupilot_multi.world] [Wrn] [SystemPaths.cc:464] File or path does not exist [""] [worlds/iris_ardupilot_multi.world] [Err] [Server.cc:379] Could not open file[worlds/iris_ardupilot_multi.world] [Wrn] [Server.cc:338] Falling back on worlds/empty.world [Err] [InsertModelWidget.cc:426] Missing model.config for model "/home/ans/ardupilot_gazebo/models/.hg" [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&File" under id 56 [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&Edit" under id 59 [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&Camera" under id 61 [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&View" under id 64 [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&Window" under id 68 [Wrn] [GuiIface.cc:119] void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "&Help" under id 73

An empty world shows up on Gazebo

acxz commented 4 years ago

This is the error I am getting:

acxz@pop-os ~ (git)-[ubuntu] % gazebo --verbose worlds/iris_ardupilot_multi.world
Gazebo multi-robot simulator, version 11.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.203
Gazebo multi-robot simulator, version 11.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.203
[Wrn] [SystemPaths.cc:459] File or path does not exist [""] [worlds/iris_ardupilot_multi.world]
[Err] [Server.cc:381] Could not open file[worlds/iris_ardupilot_multi.world]
[Wrn] [Server.cc:340] Falling back on worlds/empty.world
Gtk-Message: 18:27:15.518: Failed to load module "appmenu-gtk-module"
[Wrn] [Publisher.cc:136] Queue limit reached for topic /gazebo/default/physics/contacts, deleting message. This warning is printed only once.

Which is essentially the same: [Wrn] [SystemPaths.cc:464] File or path does not exist [""] [worlds/iris_ardupilot_multi.world] I would start debugging with this line.

talking-toaster commented 1 year ago

What terminal are you using (bash/zsh)? /usr/share/gazebo/setup.sh is a bash script, and simply adding it to .zshrc might lead to path not found issues.

thunderdemon923 commented 6 months ago

Hi! I have the file worlds/iris_ardupilot_multi.world available but I am still getting this error. I used the command gazebo --verbose worlds/iris_ardupilot_multi.world

was there any fix?