Skip to content

Commit

Permalink
AP_Logger: add metadata giving enum for RFND.Orient
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
peterbarker committed Dec 27, 2024
1 parent c432716 commit 5496f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Logger/LogStructure.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5496f9a

Please sign in to comment.