mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Commander: Init land detector
This commit is contained in:
parent
567364317a
commit
109f88564d
@ -1423,6 +1423,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
/* Subscribe to land detector */
|
||||
int land_detector_sub = orb_subscribe(ORB_ID(vehicle_land_detected));
|
||||
struct vehicle_land_detected_s land_detector = {};
|
||||
land_detector.landed = true;
|
||||
|
||||
/*
|
||||
* The home position is set based on GPS only, to prevent a dependency between
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user