mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
land detector : add stbs for altitude
This commit is contained in:
parent
1adbf37cbe
commit
e8e4e5be49
@ -58,6 +58,10 @@ void RoverLandDetector::_update_topics()
|
||||
{
|
||||
}
|
||||
|
||||
void RoverLandDetector::_update_params()
|
||||
{
|
||||
}
|
||||
|
||||
bool RoverLandDetector::_get_ground_contact_state()
|
||||
{
|
||||
return false;
|
||||
@ -73,8 +77,9 @@ bool RoverLandDetector::_get_freefall_state()
|
||||
return false;
|
||||
}
|
||||
|
||||
void RoverLandDetector::_update_params()
|
||||
float RoverLandDetector::_get_max_altitude()
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -66,6 +66,8 @@ protected:
|
||||
|
||||
virtual bool _get_freefall_state() override;
|
||||
|
||||
virtual float _get_max_altitude() override;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user