Skip to content

Commit

Permalink
AP_Compass: add GPYW metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg authored and tridge committed Mar 1, 2023
1 parent 69beb2d commit 7e214b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libraries/AP_GPS/GPS_Backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,14 @@ bool AP_GPS_Backend::calculate_moving_base_yaw(AP_GPS::GPS_State &interim_state,

#if HAL_LOGGING_ENABLED
// this log message helps diagnose GPS yaw issues
// @LoggerMessage: GPYW
// @Description: GPS Yaw
// @Field: TimeUS: Time since system startup
// @Field: Id: instance
// @Field: RHD: reported heading,deg
// @Field: RDist: antenna separation,m
// @Field: RDown: vertical antenna separation,m
// @Field: OK: 1 if have yaw
AP::logger().WriteStreaming("GPYW", "TimeUS,Id,RHD,RDist,RDown,OK",
"s#dmm-",
"F-----",
Expand Down

0 comments on commit 7e214b2

Please sign in to comment.