HITL and ROS

Hello,

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@127.0.0.1:14557": 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.

3 Likes

@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.