I’m posting a solution to an issue I encountered while trying to run the standard windy simulation with Gazebo Harmonic.
My Environment:
OS: Ubuntu 22.04
Gazebo Version: Harmonic
PX4 Version: PX4-Autopilot main branch
Launch Command:make px4_sitl gz_x500_windy
Issues:
When running the standard gz_x500_windy launch command, the simulation would start, but there were no signs of wind. I tried to debug this with the following steps:
No Visual Effect: The drone would hover perfectly still with no drift.
No Airspeed Output: I checked the vehicle’s airspeed sensor topic using the following command, but it produced no output, gz topic -e -t /world/windy/model/x500_0/link/airspeed_link/sensor/air_speed/air_speed
Missing Wind Topic: I was wondering if gazebo will have some topics for us to access the wind information, and chatGPT gave me this command. However, it did not show any topic named this. The only relevant gz topic that I see is the air_speed one above. gz topic -l | grep /world/windy/wind
Additionally, there is a missing ekf2 data warning when I run the make command, I am not sure if that is relevant to this issue.