diff Common/Inc/data_central.h @ 899:2225c467f1e9 Evo_2_23 tip

Added data path and visualization for position data: The GNSS data exchange is now initialized and triggered on a cyclic basis (once a second). RTE verion has been increased because of interface change. For now only the position data is shown in a T7 surface views. The functionality may be switched on/off using the compile switch ENABLE_GNSS.
author Ideenmodellierer
date Mon, 30 Sep 2024 21:56:05 +0200
parents db92692c014f
children
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Thu Sep 26 18:40:41 2024 +0200
+++ b/Common/Inc/data_central.h	Mon Sep 30 21:56:05 2024 +0200
@@ -165,6 +165,13 @@
 }		SDeviceState;
 */
 
+typedef struct
+{
+	float Longitude;
+	float Latitude;
+} 	SPositionData;
+
+
 /* struct SLifeData
  * contains data all actual data (pressure, stuturation, etc. as received from second ship
  * and has actualGas to be send to Small CPU (second chip)
@@ -245,6 +252,9 @@
 
 /* for PSCR Mode */
 	 float ppo2Simulated_bar;
+/* GNSS data */
+	 SPositionData gnssPosition;
+
 } 	SLifeData;