From fafbd3fa271f1f0d1a0c9583e4fe2d7fe9add8d8 Mon Sep 17 00:00:00 2001 From: Jason Zhou Date: Tue, 19 Nov 2024 01:42:38 +0000 Subject: [PATCH 1/2] add readIMUHeading method in dummy_gps --- src/gps/dummy/dummy_gps.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gps/dummy/dummy_gps.cpp b/src/gps/dummy/dummy_gps.cpp index 16ece8c8b..1041c37ba 100644 --- a/src/gps/dummy/dummy_gps.cpp +++ b/src/gps/dummy/dummy_gps.cpp @@ -5,3 +5,7 @@ using robot::types::DataPoint; DataPoint readGPSCoords() { return {}; } + +DataPoint readIMUHeading() { + return {}; +} \ No newline at end of file From 24aa64b44a37af30d6899720d7b92f502896d985 Mon Sep 17 00:00:00 2001 From: Jason Zhou Date: Tue, 19 Nov 2024 02:40:58 +0000 Subject: [PATCH 2/2] fix readIMUHeading() return type --- src/gps/dummy/dummy_gps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps/dummy/dummy_gps.cpp b/src/gps/dummy/dummy_gps.cpp index 1041c37ba..adc0c6642 100644 --- a/src/gps/dummy/dummy_gps.cpp +++ b/src/gps/dummy/dummy_gps.cpp @@ -6,6 +6,6 @@ DataPoint readGPSCoords() { return {}; } -DataPoint readIMUHeading() { +DataPoint readIMUHeading() { return {}; } \ No newline at end of file