SDF modification and Preflight fails

Hi everyone,

I am contacting you because I modified the SDF file of the advanced_plane Gazebo model to adapt it to a drone (a motorized glider), and I am currently encountering some simulation issues.

Specifically, when I start the simulation, the aircraft does not take off.

I therefore attempted to modify the control parameters FW_PR, FW_RR, and FW_YA, which correspond to the gain rates for the pitch, roll, and yaw angles. Each of these parameters includes proportional, integral, and derivative components (FW_…_P , FW_…_I , FW_…_D).

However, I am still unable to execute the mission, as I receive warning messages such as:

  • WARN [health_and_arming_checks] Preflight Fail: Airspeed invalid

  • WARN [health_and_arming_checks] Preflight Fail: Attitude failure (roll)

Would you have any insight into the possible causes of these issues?

I am attaching the SDF file for reference.

Thank you in advance for your response, and I wish you a pleasant day.

Kind regards,

advanced_plane.sdf.jinja.pdf (37.1 KB)