Issue Summary
The ArduPilot plugin is not loading correctly when testing the BlueROV2 model in the Docker environment. We need to resolve this error to ensure proper functionality.
Details
- The BlueROV2 models have been added, but the ArduPilot plugin does not load properly —
[Err] [SystemLoader.cc:92] Failed to load system plugin [libArduPilotPlugin.so]: Could not find shared library.
- The
ardupilot and ardupilot_gazebo are installed in the Docker image at /opt/ardupilot_dave/ in an attempt to resolve the above error.
Conversation Summary
- Prerequisites such as
libgz-sim8-dev, rapidjson-dev, libopencv-dev, and gstreamer are also required and need to be added to the installation script.
- Further testing has shown that
mavros is needed, and possibly mavros_extra_plugins as well.
- The USER permissions on the Docker image for Mac are incorrect, and ROS2 is not sourced upon startup.
Commands for Testing BlueROV2 Model
Step 1: Pull the recent docker image
For Ubuntu:
docker pull ioeslab/dave:ros2
docker tag ioeslab/dave:ros2 dave:latest
source ~/dave_ws/dave_venv/bin/activate
cd ~/dave_ws/src/dockwater
./run.bash dave:latest
For Mac:
docker pull ioeslab/dave:ros2-arm-rdp
docker tag ioeslab/dave:ros2-arm-rdp dave:latest
source ~/dave_ws/dave_venv/bin/activate
cd ~/dave_ws/src/dockwater
./run.bash -r dave:latest
Step 2: Launch BlueROV2 model
git checkout robot_launch
cd ~/dave_ws
colcon build && source install/setup.bash
ros2 launch dave_demos dave_robot.launch.py z:=-5 namespace:=bluerov2 world_name:=dave_ocean_waves paused:=false
Issue Summary
The ArduPilot plugin is not loading correctly when testing the BlueROV2 model in the Docker environment. We need to resolve this error to ensure proper functionality.
Details
[Err] [SystemLoader.cc:92] Failed to load system plugin [libArduPilotPlugin.so]: Could not find shared library.ardupilotandardupilot_gazeboare installed in the Docker image at/opt/ardupilot_dave/in an attempt to resolve the above error.Conversation Summary
libgz-sim8-dev,rapidjson-dev,libopencv-dev, andgstreamerare also required and need to be added to the installation script.mavrosis needed, and possiblymavros_extra_pluginsas well.Commands for Testing BlueROV2 Model
Step 1: Pull the recent docker image
For Ubuntu:
For Mac:
Step 2: Launch BlueROV2 model