Skip to content

Commit

Permalink
Move even if no radio packet
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachGarcia42 committed May 13, 2024
1 parent 907744f commit 46a185d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 46a185d

Please sign in to comment.