I was able to run HITL and Gazebo with px4 firmware to perform copter simulation. I followed the documentation and HITL is working properly. I connected QGroundcontrol to read telmetry data and perform autonomous missions.

How can I interface HITL with ROS? I tried to run roslaunch mavros px4.launch fcu_url:="udp://:14540@": mavros was running but no data were provided and Gazebo crashed while QGround was running. I supposed there is UDP problem but I don’t have any idea on how to fix it.

I would appreciate any suggestions .

Thankyou in advance.


@Al_B are you involved in the same problem?

Hi, can anyone please help? Is is possible to interface HITL with ROS? How can I do that?
Thnakyou in advance.