BlueOS ROS2 Extension v0.0.2 is here!

Hello everyone!!
I am really glad some of the community members have been using the ROS2 extension ^-^
Based on some of the questions I’ve been getting, I added some extra feature to the extension :smiley:

The ROS2 extension now includes the following packages:

  • MAVROS: Includes a launch file to communicate with the flight controller (vehicle)
  • Foxglove : Web-based RViz for visualizing ROS2 data
  • mavros_control: Includes a python script to control the vehicle using GPS-based waypoints (BlueBoat) and RC-control (BlueROV2) via mavros

The extension also mounts the following folder on the computer running BlueOS to the home directory folder in the extension’s Docker container, which can be used to store files that need to persist across reboots, such as a ROS2 workspace with custom code:

/usr/blueos/extensions/ros2//home/persistent_ws/

Please feel free to send me feature requests ^-^ (No, I am not ready to switch to Jazzy :P)

8 Likes

Hi! I have been using your original blueos-ros2 extension that launches MAVROS through Docker. I am having issues with sending RC commands. I can ARM/DISARM the vehicle through MAVROS, and can echo the MAVROS topics. However, I can’t seem to get the /mavros/rc/OverrideRCIn topic to do anything.

My current launch command is:

ros2 launch mavros apm.launch fcu_url:=udp://:14770@192.168.2.2:14770

This is based on a MAVLink UDP Client endpoint I made on Port 14770 (through the blueos webpage) to another Pi which I am intending on using as the control station computer.

I have read that I may need to change the sys id on QGC to 1? Is there anything else I need to consider? Should I also include a gcs_url in my launch command?

Thank you! I have enjoyed working with your extension so far.

Yup, you need to change the sys id to 1. But also the fcu url is different on BlueOS, the extension launches mavros with the correct fcu_url, you shouldn’t have to change it :slight_smile:

Great! I have changed the SYSID.

As I try and clone your repository using your commands provided online, I get an error when trying the fetch the mavros_control submodule path. Following it through GitHub too I find that it is not accessible. I am not sure if the issue is on my end?

Thank you!

i finally got it to work. first visit http://192.168.2.2/vehicle/setup/pwm_outputs and change all the servo values to RcPassThru , then go to http://192.168.2.2/vehicle/parameters and search for SYSID_MYGCS and change it to 1. now you can publish the rc commands

1 Like

Hi @blutonomy,
Thanks for reporting that; I fixed the submodule path in the repo :slight_smile:

Awesome! Glad you got it to work! ^-^

1 Like