diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-04-06 14:58:31 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-04-06 14:58:31 +0200 |
commit | 8fcdff15a480399541b9ecccf8dc8260d437ec7f (patch) | |
tree | 0186f3bb90d5a9d139fc33fb50f9f7022bf76661 /src/modules/fw_pos_control_l1 | |
parent | 1b3975c068b9884f0e08c70d5c0f4f93c2737811 (diff) | |
download | px4-firmware-8fcdff15a480399541b9ecccf8dc8260d437ec7f.tar.gz px4-firmware-8fcdff15a480399541b9ecccf8dc8260d437ec7f.tar.bz2 px4-firmware-8fcdff15a480399541b9ecccf8dc8260d437ec7f.zip |
mtecs: add comment about setting the standard limits
Diffstat (limited to 'src/modules/fw_pos_control_l1')
-rw-r--r-- | src/modules/fw_pos_control_l1/mtecs/mTecs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp index 33bfd4962..63e60995e 100644 --- a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp +++ b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp @@ -134,8 +134,8 @@ void mTecs::updateFlightPathAngleAcceleration(float flightPathAngle, float fligh } /* Set special ouput limiters if we are not in TECS_MODE_NORMAL */ - BlockOutputLimiter *outputLimiterThrottle = NULL; - BlockOutputLimiter *outputLimiterPitch = NULL; + BlockOutputLimiter *outputLimiterThrottle = NULL; // NULL --> use standard inflight limits + BlockOutputLimiter *outputLimiterPitch = NULL; // NULL --> use standard inflight limits if (mode == TECS_MODE_TAKEOFF) { outputLimiterThrottle = &BlockOutputLimiterTakeoffThrottle; //XXX: accept prelaunch values from launchdetector outputLimiterPitch = &BlockOutputLimiterTakeoffPitch; |