This is a beginner’s question (new to drone dev). I have been trying to get PX4 + ROS + Gazebo to work and try out fee scenarios in SIM, but with no success.
Followed instructions @ https://dev.px4.io/en/simulation/ros_interface.html
- Tried launching px4 and gazebo separately (no_sim=1) and also together.
- Also tried using MAVRos separately and together.
In all the cases the apps are launching perfectly, but the px4 is stuck at below msg
“INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…”
If i start MAVRos: I could see hearbeat’s being sent on port 14540
If i start QGC: I could see hearbeat’s being sent on port 14550
So who will send data/initiate connection in port 14560? I guess the SIM should talk to px4 on 14560 as per docs, buts it’s not happening?
What am I missing?