Open mvanlobensels opened 8 months ago
From https://github.com/osrf/vrx/issues/732, it seems that the GZ_SIM_RESOURCE_PATH has to be set correctly. With the --merge-install
flag, it points to vrx_ws/install/share/wamv_description/models
, which is indeed where the files are installed.
Without the --merge-install
flag, the wamv_description package is installed in vrx_ws/install/wamv_description/share/wamv_description/models
. So I add this path to the GZ_SIM_RESOURCE_PATH environment variable, but Gazebo can still not find the files. If I manually move the files from vrx_ws/install/wamv_description/share/wamv_description/models
to vrx_ws/install/share/wamv_description/models
, Gazebo does find them.
How can I make Gazebo search for the files in the correct folder?
@caguero Do you know if this can be accomplished?
Is it possible to build vrx without the
--merge-install
flag? This flag is not compatible with the rest of my ROS workspace, and mainly external sensor drivers. With the flag, other parts of my repo do not build.When I build without the
--merge-install
flag, the following errors occur: see screenshots.To Reproduce List the steps to reproduce the problem:
colcon build
source install setup.bash
ros2 launch vrx_gz competition.launch.py world:=sydney_regatta
System Configuration:
Screenshots![image](https://github.com/osrf/vrx/assets/50023316/a0758cec-bf4e-4d74-993b-1bb77c75f24f)