Describe the bug
When the drone is flying in MANUAL / ALTCTL / POSCTL / ACRO (and probably more?) mode and receives a MAV_CMD_NAV_TAKEOFF message (to set mode to TAKEOFF), it flies towards (x, y, z) = (1, 1, 0) direction.
To Reproduce
Steps to reproduce the behavior:
[terminal 1] make px4_sitl_rtps gazebo -j4
[terminal 2] Download and run the PoC
Expected behavior
As described in the documentation, the drone should get to the target altitude and hold. No movement in the X and Y direction is expected.
Log Files and Screenshots
Drone (please complete the following information):
- Build:
px4_sitl_rtps
- tested commit:
a2645418