forked from Archive/PX4-Autopilot
Deprecate RoverLandDetector virtual methods that are redundant.
This commit is contained in:
parent
5842c0c2fb
commit
2644742b37
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue