Commander: Init land detector

This commit is contained in:
Lorenz Meier 2016-04-29 12:34:28 +02:00
parent 567364317a
commit 109f88564d

View File

@ -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