mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 23:00:34 +08:00
allow local position for takeoff (e.g. flow)
This commit is contained in:
committed by
Lorenz Meier
parent
194f0c1de8
commit
1f7fdb2386
@@ -433,7 +433,7 @@ int commander_main(int argc, char *argv[])
|
||||
if (!strcmp(argv[1], "takeoff")) {
|
||||
|
||||
/* see if we got a home position */
|
||||
if (status_flags.condition_home_position_valid) {
|
||||
if (status_flags.condition_local_position_valid) {
|
||||
|
||||
if (TRANSITION_DENIED != arm_disarm(true, &mavlink_log_pub, "command line")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user