Hello
when i launch the ros2 launch vrx_gz competition.launch.py world:=/home/usman/boat_ws/src/vrx/vrx_gz/worlds/gymkhana_task.sdf from this repo for the marine simulation GitHub - osrf/vrx: Virtual RobotX (VRX) resources.
The models (i have attached folder tree of vrx_gz as well) that are inside the vrx_gz package cannot be recognized. However if i launch the “gz sim” i can spawn the models in the simulation.
[ruby $(which ign) gazebo-1] [Err] [Server.cc:139] Error Code 13: [/sdf/world[@name=“gymkhana_task”]/include[1]/uri:/home/usman/boat_ws/src/vrx/vrx_gz/worlds/gymkhana_task.sdf:L351]: Msg: Unable to find uri[coast_waves]
similar error comes for all models that are inside this folder.
Please let me know why the gazebo cannot find these models
here is the output of echo $GZ_SIM_RESOURCE_PATH
/home/usman/boat_ws/install/wamv_description/share/wamv_description/models:/home/usman/boat_ws/install/vrx_gz/share/vrx_gz/models/tmp:/home/usman/boat_ws/install/vrx_gz/share/vrx_gz/models:/home/usman/boat_ws/install/vrx_gz/share/vrx_gz/worlds/2023_practice:/home/usman/boat_ws/install/vrx_gz/share/vrx_gz/worlds:/home/usman/boat_ws/install/vrx_gazebo/share/vrx_gazebo/models:/home/usman/boat_ws/install/vrx_gazebo/share/
here is the version of gazebo that i am using on Ubuntu 22.04 with ROS humble.
Ignition Gazebo, version 6.11.0
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.
Hi Muhammad, did you manage to solve this already? I am currently facing the same problem with the same setup, and hope you might have found a solution
If you are interested in a docker based environment than view my post at this forum
Otherwise run the following command in the workspace
colcon build --merge-install
Source your workspace and than run the following command
ros2 launch vrx_gz competition.launch.py
The terminal will say requesting world file name. Now you need to have a internet connection connected. It will dowload some resources when you run it for the first time.