diff --git a/libraries/AP_DroneCAN/AP_DroneCAN.cpp b/libraries/AP_DroneCAN/AP_DroneCAN.cpp index 58cdc7e1b6..c0707ebe79 100644 --- a/libraries/AP_DroneCAN/AP_DroneCAN.cpp +++ b/libraries/AP_DroneCAN/AP_DroneCAN.cpp @@ -1953,6 +1953,24 @@ void AP_DroneCAN::logging(void) return; } const auto &s = *stats; + +// @LoggerMessage: CANS +// @Description: CAN Bus Statistics +// @Field: TimeUS: Time since system startup +// @Field: I: driver index +// @Field: T: transmit success count +// @Field: Trq: transmit request count +// @Field: Trej: transmit reject count +// @Field: Tov: transmit overflow count +// @Field: Tto: transmit timeout count +// @Field: Tab: transmit abort count +// @Field: R: receive count +// @Field: Rov: receive overflow count +// @Field: Rer: receive error count +// @Field: Bo: bus offset error count +// @Field: Etx: ESC successful send count +// @Field: Stx: Servo successful send count +// @Field: Ftx: ESC/Servo failed-to-send count AP::logger().WriteStreaming("CANS", "TimeUS,I,T,Trq,Trej,Tov,Tto,Tab,R,Rov,Rer,Bo,Etx,Stx,Ftx", "s#-------------",