Deprecate RoverLandDetector virtual methods that are redundant.

This commit is contained in:
mcsauder 2019-10-02 13:29:29 -06:00 committed by Daniel Agar
parent 5842c0c2fb
commit 2644742b37
2 changed files with 0 additions and 17 deletions

View File

@ -39,8 +39,6 @@
* @author Julian Oes <julian@oes.ch>
*/
#include <drivers/drv_hrt.h>
#include "RoverLandDetector.h"
namespace land_detector
@ -59,12 +57,6 @@ bool RoverLandDetector::_get_ground_contact_state()
return true;
}
bool RoverLandDetector::_get_maybe_landed_state()
{
return false;
}
bool RoverLandDetector::_get_landed_state()
{
if (!_actuator_armed.armed) {
@ -74,11 +66,6 @@ bool RoverLandDetector::_get_landed_state()
return false;
}
bool RoverLandDetector::_get_freefall_state()
{
return false;
}
float RoverLandDetector::_get_max_altitude()
{
return 0.0f;

View File

@ -62,10 +62,6 @@ protected:
virtual bool _get_ground_contact_state() override;
virtual bool _get_maybe_landed_state() override;
virtual bool _get_freefall_state() override;
virtual float _get_max_altitude() override;
private: