Hey everyone!
I am trying to create a launch file that will start PX4, so we can send commands from ROS2 to PX4 using the microDDs bridge.
I have read the following examples:
## Overview
This tutorial explains how to interface ROS2 with PX4 (SITL) using DDS.
### Prerequisites
* [ROS2 Installed](https://docs.px4.io/main/en/ros/ros2_comm.html#install-ros-2), and setup for your operating system (e.g. [Linux Ubuntu](https://docs.px4.io/main/en/dev_setup/dev_env_linux_ubuntu.html)) with Gazebo
* [FastDDS Installed](https://docs.px4.io/v1.13/en/dev_setup/fast-dds-installation.html#fast-dds-installation)
* [PX4-Autopilot downloaded](https://docs.px4.io/main/en/dev_setup/building_px4.html)
* [QGroundControl installed](https://docs.qgroundcontrol.com/master/en/getting_started/download_and_install.html)
* Ubuntu 22.04
* ROS2 Humble
* Python 3.10
## Install PX4 Offboard and dependencies (one time setup)
### Install the px4-offboard example from Jaeyoung-Lim
```
This file has been truncated. show original
PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...
While these launch ROS2 and connect to PX4 using the bridge, we need a way to first connect the drones to PX4.
The use case is to implement the following using a launch file:
PX4 is the Professional Autopilot. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and...
As the multi-vehicle simulation requires gazebo garden, which is not compatible with our environment. How can we get this to work? Are there any examples?
Here are some related threads:
Launch PX4 via ROS2 python launch file - #13 by befaro - uses RTPS not microDDS
ROS2 lidar integration - via python launch file? - unasnwered
Here is my discord question: Discord
Thank you so much!!!
1 Like