Skip to content
Snippets Groups Projects
Commit f2697270 authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Lorenz Meier
Browse files

style fix

parent e6f7af2d
No related branches found
No related tags found
No related merge requests found
......@@ -225,8 +225,7 @@ bool MulticopterLandDetector::_get_ground_contact_state()
// If pilots commands down or in auto mode and we are already below minimal thrust and we do not move down we assume ground contact
// TODO: we need an accelerometer based check for vertical movement for flying without GPS
if (manual_control_idle_or_auto && (_has_low_thrust() || hit_ground) && (!horizontalMovement || !_has_position_lock())
&&
(!verticalMovement || !_has_altitude_lock())) {
&& (!verticalMovement || !_has_altitude_lock())) {
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment