From c00bcbe2ae9b6fa85d799c395be6237995917c0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Federico=20Disar=C3=B2?= <federico.disaro@skywarder.eu>
Date: Mon, 24 Mar 2025 15:05:01 +0100
Subject: [PATCH] Updated README

---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index cec57fe..90cb1b0 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,12 @@ The file `main.m` load the logs of a previous flight and then simulates the flig
 
 The second part replicates how the on-board software interacts with the sensors, at each iteration the script gets new sensor measurements and pass them to the function `apogee_detector.m`, which detects the apogee and, on the real rocket, commands the expulsion of the parachute. The available sensor measurements are a barometer, a 6-axis IMU (accelerometer and gyroscope) and a GPS.
 
+The flight phases contained in the log are:
+
+* rocket on the ramp
+* ascent phase
+* descent phase
+
 The third part is used just to plot the result and display the apogee detection.
 
 **Your task is to develop the function `apogee_detector.m` :**
@@ -21,6 +27,7 @@ which uses the data measured in real time during the flight as input and outputs
 * 1  during the instants where the rocket is considered to be at the apogee
 * 0  otherwise
 
+
 ## How organize the work
 
 To organize the work, it's suggested to divide it in 2 tasks:
@@ -43,6 +50,8 @@ To take into account these factors, the function that you will submit will be te
 
 **data:** it is a support variable that you can use if and however you want, for example it could store previous sensors measurements or counters. It is declared inside `main.m`; if you want to use it you have to declare it there, otherwise you can just leave it as it is.
 
+**timestamp**: the timestamp present in each log is expressed in milliseconds (us)
+
 **pressure_measurement:** the barometer is used to measure the atmospheric pressure during the flight
 
 | pressure |
-- 
GitLab