From 46a185d27e8cab317ba31545b7bdf4f2c87390c9 Mon Sep 17 00:00:00 2001 From: Zach Garcia Date: Mon, 13 May 2024 19:33:36 -0400 Subject: [PATCH] Move even if no radio packet --- src/main.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 010b15c..b314575 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,13 +76,11 @@ int main() { memcpy(&rockElev, received + constants::ALTITUDE_OFFSET, sizeof(float)); // Altitude field memcpy(&rockLat, received + constants::LATITUDE_OFFSET, sizeof(float)); // Latitude field memcpy(&rockLong, received + constants::LONGITUDE_OFFSET, sizeof(float)); // Longitude field - - + } #ifdef MOVER - // Move - mover.move(rockElev, rockLat, rockLong); + // Move + mover.move(rockElev, rockLat, rockLong); #endif // Mover - } } return 0;