38 #define BLACKBOX_FIRST_HEADER_SENDING_STATE BLACKBOX_STATE_SEND_HEADER
39 #define BLACKBOX_LAST_HEADER_SENDING_STATE BLACKBOX_STATE_SEND_SYSINFO
int32_t GPS_home[2]
Definition: blackbox.h:64
int32_t axisPID_I[XYZ_AXIS_COUNT]
Definition: blackbox.h:44
#define XYZ_AXIS_COUNT
Definition: axis.h:26
uint16_t amperageLatest
Definition: blackbox.h:51
void blackboxLogEvent(struct blackbox *self, FlightLogEvent event, flightLogEventData_t *data)
bool rxFlightChannelsValid
Definition: blackbox.h:74
bool blackbox_is_running(struct blackbox *self)
bool blackboxLoggedAnyFrames
Definition: blackbox.h:96
Definition: blackbox.h:69
struct blackboxGpsState_s blackboxGpsState_t
struct blackbox_xmit_state __attribute__
Definition: blackbox.h:41
const struct config const * config
Definition: blackbox.h:121
Definition: blackbox_fielddefs.h:136
int32_t axisPID_P[XYZ_AXIS_COUNT]
Definition: blackbox.h:44
struct blackbox_xmit_state xmitState
Definition: blackbox.h:97
uint16_t flightModeFlags
Definition: blackbox.h:70
uint8_t GPS_numSat
Definition: blackbox.h:65
FlightLogEvent
Definition: blackbox_fielddefs.h:104
uint32_t time
Definition: blackbox.h:42
void blackbox_start(struct blackbox *self)
sys_millis_t startTime
Definition: blackbox.h:86
int fieldIndex
Definition: blackbox.h:85
Definition: blackbox.h:32
Definition: blackbox.h:26
int32_t BaroAlt
Definition: barometer.c:41
blackboxMainState_t blackboxHistoryRing[3]
Definition: blackbox.h:111
Definition: blackbox.h:28
Definition: blackbox.h:63
void blackbox_update(struct blackbox *self)
struct blackboxMainState_s blackboxMainState_t
int32_t sys_millis_t
Definition: system_calls.h:6
Definition: blackbox.h:24
uint16_t blackboxSlowFrameIterationTimer
Definition: blackbox.h:95
void blackbox_init(struct blackbox *self, struct ninja *owner, const struct config *config)
uint8_t failsafePhase
Definition: blackbox.h:72
uint32_t blackboxConditionCache
Definition: blackbox.h:119
int16_t rcCommand[4]
Definition: blackbox.h:46
Definition: blackbox.h:35
uint32_t headerIndex
Definition: blackbox.h:79
blackboxMainState_t * blackboxHistory[3]
Definition: blackbox.h:114
Definition: blackbox.h:31
Definition: blackbox.h:78
BlackboxState blackboxState
Definition: blackbox.h:99
struct ninja * ninja
Definition: blackbox.h:91
int16_t gyroADC[XYZ_AXIS_COUNT]
Definition: blackbox.h:47
Definition: blackbox.h:25
Definition: blackbox.h:27
Definition: blackbox.h:30
bool blackboxModeActivationConditionPresent
Definition: blackbox.h:116
Definition: blackbox.h:29
Definition: blackbox.h:90
void blackbox_stop(struct blackbox *self)
bool rxSignalReceived
Definition: blackbox.h:73
Definition: blackbox.h:33
int32_t axisPID_D[XYZ_AXIS_COUNT]
Definition: blackbox.h:44
int16_t magADC[XYZ_AXIS_COUNT]
Definition: blackbox.h:56
blackboxSlowState_t slowHistory
Definition: blackbox.h:108
uint16_t blackboxIFrameIndex
Definition: blackbox.h:94
blackboxGpsState_t gpsHistory
Definition: blackbox.h:107
Definition: blackbox.h:34
uint16_t rssi
Definition: blackbox.h:60
uint16_t vbatLatest
Definition: blackbox.h:50
BlackboxState
Definition: blackbox.h:23
uint8_t stateFlags
Definition: blackbox.h:71
uint16_t vbatReference
Definition: blackbox.h:105
int16_t accSmooth[XYZ_AXIS_COUNT]
Definition: blackbox.h:48
uint16_t blackboxPFrameIndex
Definition: blackbox.h:94
uint32_t blackboxIteration
Definition: blackbox.h:93
int32_t GPS_coord[2]
Definition: blackbox.h:64
uint16_t data
Definition: config.c:91