land detector VTOL inherit MC maybe_landed (#7738)

* maybe_landed state for VTOL inherited from MC
* set correct land detector for SITL
This commit is contained in:
Sander Smeets
2017-08-06 10:02:56 -04:00
committed by Daniel Agar
parent 102003c664
commit c81dd46b02
5 changed files with 7 additions and 32 deletions
@@ -71,18 +71,6 @@ void VtolLandDetector::_update_topics()
_orb_update(ORB_ID(airspeed), _airspeedSub, &_airspeed);
}
bool VtolLandDetector::_get_ground_contact_state()
{
return MulticopterLandDetector::_get_ground_contact_state();
}
bool VtolLandDetector::_get_maybe_landed_state()
{
// TODO
return false;
}
bool VtolLandDetector::_get_landed_state()
{
// this is returned from the mutlicopter land detector
@@ -108,11 +96,6 @@ bool VtolLandDetector::_get_landed_state()
return landed;
}
bool VtolLandDetector::_get_freefall_state()
{
return MulticopterLandDetector::_get_freefall_state();
}
void VtolLandDetector::_update_params()
{
MulticopterLandDetector::_update_params();