Avionics
Core avionics package for CURE flight computers
Loading...
Searching...
No Matches
DataNames.h
Go to the documentation of this file.
1
#ifndef DATA_NAMES_H
2
#define DATA_NAMES_H
3
// Defines the uint8_t value for each data stream
4
5
// Sensor data
6
#define ACCELEROMETER_X 0
7
#define ACCELEROMETER_Y 1
8
#define ACCELEROMETER_Z 2
9
#define GYROSCOPE_X 3
10
#define GYROSCOPE_Y 4
11
#define GYROSCOPE_Z 5
12
#define TEMPERATURE 6
13
#define PRESSURE 7
14
#define ALTITUDE 8
15
#define MAGNETOMETER_X 9
16
#define MAGNETOMETER_Y 10
17
#define MAGNETOMETER_Z 11
18
19
// Metrics
20
#define MEDIAN_ACCELERATION_SQUARED 12
21
#define AVERAGE_CYCLE_RATE 13
22
#define NUM_PACKETS_SENT 24
23
24
// Metadata
25
#define TIMESTAMP 14
26
#define STATE_CHANGE 15
27
#define CURRENT_STATE 23
28
#define FLIGHT_ID 16
29
30
// State Estimation
31
#define EST_APOGEE 17
32
#define EST_VERTICAL_VELOCITY 18
33
#define EST_ALTITUDE 19
34
#define TIME_TO_APOGEE 22
35
36
// Power
37
#define BATTERY_VOLTAGE 20
38
39
// Active Aero
40
#define FIN_DEPLOYMENT_AMOUNT 21
41
42
#endif
include
data_handling
DataNames.h
Generated by
1.16.1