ROS2 lidar integration - via python launch file?

Hello,

thank you very much for your post, I am new to ROS2 and looking for some guidance. I am actually trying to make the first point of your question work and really hope you can help me with that.

In particular, I am trying to “Launch multiple drones in gazebo and control them via ros2 (got this :white_check_mark: )”

So far, from what I understood, after running Gazebo with multiple vehicles, I need to open multiple px4 shells and run micrortps_client for each vehicle. Furthermore, on this post, they mention a launch file that is needed but I am not sure how to run it.

Therefore, can you please elaborate more on how to run Gazebo with multiple vehicles while controlling each vehicle using ROS2? How do you do it step by step?

So far I got the Gazebo running with multiple vehicles by running this command inside the PX4-Autopilot/Tools folder:

./gazebo_sitl_multiple_run.sh -n 6 -t px4_sitl_rtps

After this how can I open a px4 shell for each vehicle so that I can run a micrortps_client for each vehicle?

Thank you very much dor your time and availability