Kalman State Packet | Size (bytes) | Type | Units | ----------- | GPS Packet | Size (bytes) | Type | Units | ----------- | Barometer Packet | Size (bytes) | Type | Units |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Packet Overhead | Packet Overhead | Packet Overhead | |||||||||||
Q1 | 4 | Float | Latitude | 4 | Float | degrees | Altitude | 4 | Float | meters | |||
Q2 | 4 | Float | Longitude | 4 | Float | degrees | Pressure | 4 | Float | Pascals | |||
Q3 | 4 | Float | GPS Altitude | 4 | Float | ? | Temperature | 4 | Float | Celcius | |||
Q4 | 4 | Float | GPS Speed | 4 | Float | ? | Time | 4 | uint32_t | milliseconds | |||
X | 4 | Float | meters | Time | 4 | uint32_t | milliseconds | Total Size | 16 | ||||
Y | 4 | Float | meters | Padding Bytes | 3 | uint8_t | |||||||
Z | 4 | Float | meters | Satellites | 1 | uint8_t | number of satellites | ||||||
Vx | 4 | Float | meters/second | Total Size | 24 | ||||||||
Vy | 4 | Float | meters/second | ||||||||||
Vz | 4 | Float | meters/second | ||||||||||
Ax | 4 | Float | meters/second^2 | ||||||||||
Ay | 4 | Float | meters/second^2 | ||||||||||
Az | 4 | Float | meters/second^2 | ||||||||||
Time | 4 | uint32_t | milliseconds | ||||||||||
Total Size | 56 |
GPS Barometer Packet | Size (Bytes) | Type | Units | ----------- | Status Packet | Size (Bytes) | Type | Units | ----------- | Ping Packet | Size (Bytes) | Type | Units |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Packet Overhead | Packet Overhead | Packet Overhead | |||||||||||
Latitude | 4 | Float | Degrees | Main Voltage | 4 | Float | Volts | Ping ID | 1 | uint8_t | |||
Longitude | 4 | Float | Degrees | Backup Voltage | 4 | Float | Volts | RSSI | 1 | uint8_t | |||
GPS Altitude | 4 | Float | ? | Pyro Voltage | 4 | Float | Volts | Altitude | 1 | uint8_t | kilometers | ||
GPS Speed | 4 | Float | ? | Error Field | 4 | uint32_t | State | 1 | uint8_t | State ID | |||
Altitude | 4 | Float | meters | Time | 4 | uint32_t | milliseconds | Total Size | 4 | ||||
Temperature | 4 | Float | Celcius | Flight Logs | 1 | uint8_t | Number of available flight logs | ||||||
Pressure | 4 | Float | Pascals | Log Storage | 1 | uint8_t | Percentage (0-100) of storage filled in flight log | ||||||
Time | 4 | uint32_t | milliseconds | Status Byte | 1 | uint8_t | Status | ||||||
Padding Bytes | 3 | uint8_t | State | 1 | uint8_t | State ID | |||||||
Satellites | 1 | uint8_t | Number of Satellites | Total Size | 24 | ||||||||
Total Size | 36 |
Test Packet | Size (Bytes) | Type | Units | ----------- | Command Packet | Size (Bytes) | Type | Units |
---|---|---|---|---|---|---|---|---|
Packet Overhead | Packet Overhead | |||||||
Q1 | 4 | Float | Arg1 | 1 | uint8_t | |||
Q2 | 4 | Float | Arg2 | 1 | uint8_t | |||
Q3 | 4 | Float | Arg3 | 1 | uint8_t | |||
Q4 | 4 | Float | Arg4 | 1 | uint8_t | |||
X | 4 | Float | meters | Sequence Number | 2 | uint16_t | ||
Y | 4 | Float | meters | Padding | 1 | uint8_t | ||
Z | 4 | Float | meters | Command ID | 1 | uint8_t | ||
Vx | 4 | Float | meters/second | Total Size | ||||
Vy | 4 | Float | meters/second | |||||
Vz | 4 | Float | meters/second | |||||
Time | 4 | uint32_t | milliseconds | |||||
GPS Altitude | 4 | Float | ? | |||||
Latitude | 4 | Float | Degrees | |||||
Longitude | 4 | Float | Degrees | |||||
GPS Speed | 4 | Float | ? | |||||
Satellites | 4 | Float | Number of satellites | |||||
Main Voltage | 4 | Float | Volts | |||||
Backup Voltage | 4 | Float | Volts | |||||
Pyro Voltage | 4 | Float | Volts | |||||
Error Field | 4 | uint32_t | ||||||
Available Logs | 1 | uint8_t | Number of available flight logs | |||||
Log Fill | 1 | uint8_t | Percentage (0-100) of storage filled in flight log | |||||
Continuity + Current Battery Usage | 1 | uint8_t | 7th bit which battery is used. bits 0,1,2,3, continuity | |||||
State | 1 | uint8_t | State ID | |||||
Total Size | 84 |
Acknowledgement Packet | Size (Bytes) | Type | Units |
---|---|---|---|
Packet Overhead | |||
Sequence Number | 2 | uint16_t | |
Padding Bytes | 1 | uint8_t | |
Command ID | 1 | uint8_t | |
Total Size | 4 |