Add check_params(true) call to the LandDetector start() method. Break out _update_total_flight_time() method in the LandDetector class.

This commit is contained in:
mcsauder
2019-06-26 09:23:02 +02:00
committed by Beat Küng
parent f783982edb
commit d7cfebe0a3
2 changed files with 10 additions and 2 deletions
+2
View File
@@ -163,6 +163,8 @@ private:
void _update_state();
void _update_total_flight_time();
bool _previous_armed_state{false}; ///< stores the previous actuator_armed.armed state
uint64_t _total_flight_time{0}; ///< in microseconds