From 5496f9a5e02b5a674a271ed2e4963a1a96e881bc Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Dec 2024 13:41:12 +1100 Subject: [PATCH] AP_Logger: add metadata giving enum for RFND.Orient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2024-12-18 02:20:27.446: RFND TimeUS: 3111687840 µs Instance: 0 instance Dist: 0.23 m Stat: 4 (Good) Orient: 25 (ROTATION_PITCH_270) (allows ROTATION_PITCH_270 to be filled in) --- libraries/AP_Logger/LogStructure.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Logger/LogStructure.h b/libraries/AP_Logger/LogStructure.h index 3d388f9795f50f..3176e5d8931c69 100644 --- a/libraries/AP_Logger/LogStructure.h +++ b/libraries/AP_Logger/LogStructure.h @@ -997,6 +997,7 @@ struct PACKED log_VER { // @Field: Stat: Sensor state // @FieldValueEnum: Stat: RangeFinder::Status // @Field: Orient: Sensor orientation +// @FieldValueEnum: Orient: Rotation // @Field: Quality: Signal quality. -1 means invalid, 0 is no signal, 100 is perfect signal // @LoggerMessage: RSSI