From 68e8398f119ab386503368426c36a473547a62ae Mon Sep 17 00:00:00 2001 From: agyoungs Date: Thu, 9 May 2024 14:32:39 -0500 Subject: [PATCH] Added GPSExtendedStatus msg to allow for additional status enums (#93) Co-authored-by: Alex Youngs Co-authored-by: David Anthony --- gps_common/CMakeLists.txt | 1 + gps_common/msg/GPSExtendedStatus.msg | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 gps_common/msg/GPSExtendedStatus.msg diff --git a/gps_common/CMakeLists.txt b/gps_common/CMakeLists.txt index 44567df..3d7b13f 100644 --- a/gps_common/CMakeLists.txt +++ b/gps_common/CMakeLists.txt @@ -28,6 +28,7 @@ catkin_python_setup() add_message_files( FILES GPSStatus.msg + GPSExtendedStatus.msg GPSFix.msg ) diff --git a/gps_common/msg/GPSExtendedStatus.msg b/gps_common/msg/GPSExtendedStatus.msg new file mode 100644 index 0000000..de5816e --- /dev/null +++ b/gps_common/msg/GPSExtendedStatus.msg @@ -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