float calculate_vertical_speed(float current_altitude, float last_altitude, int64_t current_ms, int64_t last_ms)
Calculate the vertical speed of the rocket in meters per second (m/s).
Definition utils.c:9
esp_err_t format_log_line(char *line_buf, size_t buff_size, int64_t ms, ROCKET_STATUS_T rocket_status, int32_t pressure, float altitude, float vertical_speed, float temperature, mpu6050_acceleration_t acc, mpu6050_rotation_t rot)
Format the line that will be printed into the SD card file. This file contains all the flight recorde...
Definition utils.c:15