mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 15:33:34 +08:00
mtecs: add comment about setting the standard limits
This commit is contained in:
@@ -134,8 +134,8 @@ void mTecs::updateFlightPathAngleAcceleration(float flightPathAngle, float fligh
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Set special ouput limiters if we are not in TECS_MODE_NORMAL */
|
/* Set special ouput limiters if we are not in TECS_MODE_NORMAL */
|
||||||
BlockOutputLimiter *outputLimiterThrottle = NULL;
|
BlockOutputLimiter *outputLimiterThrottle = NULL; // NULL --> use standard inflight limits
|
||||||
BlockOutputLimiter *outputLimiterPitch = NULL;
|
BlockOutputLimiter *outputLimiterPitch = NULL; // NULL --> use standard inflight limits
|
||||||
if (mode == TECS_MODE_TAKEOFF) {
|
if (mode == TECS_MODE_TAKEOFF) {
|
||||||
outputLimiterThrottle = &BlockOutputLimiterTakeoffThrottle; //XXX: accept prelaunch values from launchdetector
|
outputLimiterThrottle = &BlockOutputLimiterTakeoffThrottle; //XXX: accept prelaunch values from launchdetector
|
||||||
outputLimiterPitch = &BlockOutputLimiterTakeoffPitch;
|
outputLimiterPitch = &BlockOutputLimiterTakeoffPitch;
|
||||||
|
|||||||
Reference in New Issue
Block a user