navigator: check home position horizontal and vertical validity

This commit is contained in:
Paul Riseborough
2017-12-07 08:20:16 +00:00
committed by Lorenz Meier
parent 024589d63d
commit 49d82164c6
+1 -1
View File
@@ -150,7 +150,7 @@ public:
const vehicle_roi_s &get_vroi() { return _vroi; }
bool home_position_valid() { return (_home_pos.timestamp > 0); }
bool home_position_valid() { return (_home_pos.timestamp > 0 && _home_pos.valid_hpos && _home_pos.valid_alt); }
int get_onboard_mission_sub() { return _onboard_mission_sub; }
int get_offboard_mission_sub() { return _offboard_mission_sub; }