osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
421 stars 189 forks source link

Fix: Runtime error package 'wamv_gazebo' #711

Open 130s opened 1 year ago

130s commented 1 year ago

Issue

# ros2 launch vrx_gz competition.launch.py world:=sydney_regatta
[INFO] [launch]: All log files can be found below /root/.ros/log/2023-07-31-16-55-18-028318-130s-p16s-5941
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'wamv_gazebo' not found, searching: ['/cws/install/vrx_gz', '/cws/install/vrx_ros', '/opt/ros/humble']"

Reproducing step

In Installing VRX, building only the pkgs in the defined dependency chain (i.e. in package.xml in each pkg) using the option of colcon build, --packages-above-and-dependencies vrx_gz (I admit the pkg passed to this option is decided rather arbitrarily though, passing only the absolutely needed pkgs to build process should be a reasonable need).

Env

$ cd %VRX% && git log -1
commit cb271375cb59ff033e694a5979dc8af79fe42787 (origin/main, origin/HEAD, main)
Author: Tejal Ashwini Barnwal <64950661+tejalbarnwal@users.noreply.github.com>
Date:   Thu Jul 27 22:48:48 2023 +0530

    Updated code to use angle as input for wavefield parameter direction (#709)