Skip to content

Commit

Permalink
Added GPSExtendedStatus msg to allow for additional status enums (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Youngs <alexyoungs@hatchbed.com>
Co-authored-by: David Anthony <djanthony@gmail.com>
  • Loading branch information
3 people authored May 9, 2024
1 parent 6b8c31f commit 68e8398
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions gps_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ catkin_python_setup()
add_message_files(
FILES
GPSStatus.msg
GPSExtendedStatus.msg
GPSFix.msg
)

Expand Down
9 changes: 9 additions & 0 deletions gps_common/msg/GPSExtendedStatus.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Extended Measurement status to use for GPSStatus.msg
int16 STATUS_NO_FIX=-1 # Unable to fix position
int16 STATUS_FIX=0 # Normal fix
int16 STATUS_SBAS_FIX=1 # Fixed using a satellite-based augmentation system
int16 STATUS_GBAS_FIX=2 # or a ground-based augmentation system
int16 STATUS_DGPS_FIX=18 # Fixed with DGPS
int16 STATUS_RTK_FIX=19 # Real-Time Kinematic, fixed integers
int16 STATUS_RTK_FLOAT=20 # Real-Time Kinematic, float integers
int16 STATUS_WAAS_FIX=33 # Fixed with WAAS

0 comments on commit 68e8398

Please sign in to comment.