PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.4k stars 13.46k forks source link

Copter flips when manually moving it after safety switch is pressed #16934

Closed marvin-wtt closed 6 months ago

marvin-wtt commented 3 years ago

Describe the bug When trying to take off after moving the copter on the ground, the copter flips. It seems like the drone wants the correct its position go get to the previous land position.

To Reproduce Steps to reproduce the behavior:

  1. Switch on drone
  2. Go into position mode
  3. Press safety switch
  4. Rotate drone in yaw angle
  5. Turn off kill switch and arm
  6. Take off

Expected behavior Drone takes of in position mode and follows manual control input. Corrections should be reset when arming drone

Log Files and Screenshots

Drone (please complete the following information):

bresch commented 3 years ago

It looks like the drone tries to reach the initial yaw angle, not the position.

DeepinScreenshot_select-area_20210223145534

marvin-wtt commented 3 years ago

Yes. You are right. However is this behavior intentional?

bresch commented 6 months ago

was fixed by https://github.com/PX4/PX4-Autopilot/pull/16051 since v1.12, closing