HITL Offboard flight - Pitch not following the setpoint

I’m trying to develop a simple offboard control, and I am using the HITL Gazebo Simulator. Sometimes the airplane just shoots up and does not obey the pitch setpoint set by the offboard control. This can be seen in the Pitch Angle plot at around 1:30 in the following log:


Doe anyone have a similar behaviour? Or a possible reason for this? It seems to happen only when taking off. Maybe the PX4’s code overcomes the offboard commands under certain conditions.

Thank you

1 Like