AP_InertialNav: expose get_hgt_ctrl_limit to parent class

This commit is contained in:
Randy Mackay 2017-01-16 13:48:28 +09:00
parent d2431dafd0
commit e7ba2420c1
1 changed files with 8 additions and 0 deletions

View File

@ -104,6 +104,14 @@ public:
*/
virtual float get_altitude() const = 0;
/**
* get_hgt_ctrl_limit - get maximum height to be observed by the control loops in cm and a validity flag
* this is used to limit height during optical flow navigation
* it will return invalid when no limiting is required
* @return
*/
virtual bool get_hgt_ctrl_limit(float& limit) const = 0;
/**
* get_velocity_z - returns the current climbrate.
*