From a7646a6884126597b30f2375087652e3eb2f7d4e Mon Sep 17 00:00:00 2001
From: "luca.conterio" <luca.conterio@skywarder.eu>
Date: Tue, 12 Oct 2021 14:35:46 +0200
Subject: [PATCH] Euroc reference altitude and gps coordinates

---
 src/boards/DeathStack/configs/NASConfig.h | 4 ++--
 src/boards/DeathStack/configs/config.h    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/boards/DeathStack/configs/NASConfig.h b/src/boards/DeathStack/configs/NASConfig.h
index d938884c..0fe5edef 100644
--- a/src/boards/DeathStack/configs/NASConfig.h
+++ b/src/boards/DeathStack/configs/NASConfig.h
@@ -104,11 +104,11 @@ static const unsigned int JAMMING_FACTOR = 3;
 
 #ifdef EUROC
 // static const float LAT0 =
-//     39.371507F;  // [deg]
+//     39.390278F;  // [deg]
 //                  // Latitude of the launch location
 //                  // (campo militar santa margarida)
 // static const float LON0 =
-//     -8.278039F;  // [deg]
+//     -8.289167;  // [deg]
 //                  // Longitude of the launch location
 //                  // (campo militar santa margarida)
 
diff --git a/src/boards/DeathStack/configs/config.h b/src/boards/DeathStack/configs/config.h
index 1eaeac03..5f6e4677 100644
--- a/src/boards/DeathStack/configs/config.h
+++ b/src/boards/DeathStack/configs/config.h
@@ -27,7 +27,7 @@ static constexpr unsigned int DEFERRED_EVENTS_QUEUE_SIZE = 100;
 
 // Default reference values settings
 #ifdef EUROC
-static const float DEFAULT_REFERENCE_ALTITUDE = 171.0f;
+static const float DEFAULT_REFERENCE_ALTITUDE = 160.0f;
 static const float DEFAULT_REFERENCE_PRESSURE = 100022.4f;
 #else
 static const float DEFAULT_REFERENCE_ALTITUDE     = 1420.0f;
-- 
GitLab