Sub: add CTUN log information

This commit is contained in:
Peter Barker 2020-03-20 16:38:04 +11:00 committed by Peter Barker
parent 9bc6790723
commit eda1dc2914

View File

@ -241,6 +241,22 @@ void Sub::Log_Write_GuidedTarget(uint8_t target_type, const Vector3f& pos_target
logger.WriteBlock(&pkt, sizeof(pkt));
}
// @LoggerMessage: CTUN
// @Description: Control Tuning information
// @Field: TimeUS: microseconds since system startup
// @Field: ThI: throttle input
// @Field: ABst: angle boost
// @Field: ThO: throttle output
// @Field: ThH: calculated hover throttle
// @Field: DAlt: desired altitude
// @Field: Alt: achieved altitude
// @Field: BAlt: barometric altitude
// @Field: DSAlt: desired rangefinder altitude
// @Field: SAlt: achived rangefinder altitude
// @Field: TAlt: terrain altitude
// @Field: DCRt: desired climb rate
// @Field: CRt: climb rate
// type and unit information can be found in
// libraries/AP_Logger/Logstructure.h; search for "log_Units" for
// units and "Format characters" for field type information