Skip to content

Commit cfab417

Browse files
committed
AP_TECS: add documentation for TEC3 message
1 parent 39ac45a commit cfab417

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

libraries/AP_TECS/AP_TECS.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,23 @@ void AP_TECS::_update_throttle_with_airspeed(void)
809809

810810
#if HAL_LOGGING_ENABLED
811811
if (AP::logger().should_log(_log_bitmask)){
812+
// @LoggerMessage: TEC3
813+
// @Vehicles: Plane
814+
// @Description: Additional additional information about the Total Energy Control System
815+
// @URL: http://ardupilot.org/plane/docs/tecs-total-energy-control-system-for-speed-height-tuning-guide.html
816+
// @Field: TimeUS: Time since system startup
817+
// @Field: KED: Kinetic Energy Dot (1st derivative of KE)
818+
// @Field: PED: Potential Energy Dot (1st derivative of PE)
819+
// @Field: KEDD: Kinetic Energy Dot Demand
820+
// @Field: PEDD: Potential Energy Dot Demand
821+
// @Field: TEE: Total energy error
822+
// @Field: TEDE: Total energy dot error (1st derivative of total energy error)
823+
// @Field: FFT: feed-forward throttle
824+
// @Field: Imin: integrator limit based on throttle values
825+
// @Field: Imax: integrator limit based on throttle values
826+
// @Field: I: integrator state for throttle
827+
// @Field: Emin: lower limit for potential energy error
828+
// @Field: Emax: upper limit for potential energy error
812829
AP::logger().WriteStreaming("TEC3","TimeUS,KED,PED,KEDD,PEDD,TEE,TEDE,FFT,Imin,Imax,I,Emin,Emax",
813830
"Qffffffffffff",
814831
AP_HAL::micros64(),

0 commit comments

Comments
 (0)