mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 12:51:35 +08:00
mtecs: add getters for some internal values
This commit is contained in:
@@ -108,6 +108,10 @@ public:
|
|||||||
float getThrottleSetpoint() { return _throttleSp; }
|
float getThrottleSetpoint() { return _throttleSp; }
|
||||||
float getPitchSetpoint() { return _pitchSp; }
|
float getPitchSetpoint() { return _pitchSp; }
|
||||||
float airspeedLowpassUpdate(float input) { return _airspeedLowpass.update(input); }
|
float airspeedLowpassUpdate(float input) { return _airspeedLowpass.update(input); }
|
||||||
|
float getFlightPathAngleLowpassState() { return _flightPathAngleLowpass.getState(); }
|
||||||
|
float getAltitudeLowpassState() { return _altitudeLowpass.getState(); }
|
||||||
|
float getAirspeedLowpassState() { return _airspeedLowpass.getState(); }
|
||||||
|
float getAirspeedDerivativeLowpassState() { return _airspeedDerivative.getO(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/* parameters */
|
/* parameters */
|
||||||
|
|||||||
Reference in New Issue
Block a user