NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
blackbox_fielddefs.h File Reference
#include <stdint.h>
Include dependency graph for blackbox_fielddefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  flightLogEvent_syncBeep_s
 
struct  flightLogEvent_inflightAdjustment_s
 
struct  flightLogEvent_loggingResume_s
 
struct  flightLogEvent_gtuneCycleResult_s
 
union  flightLogEventData_u
 
struct  flightLogEvent_s
 

Macros

#define FLIGHT_LOG_EVENT_INFLIGHT_ADJUSTMENT_FUNCTION_FLOAT_VALUE_FLAG   128
 

Typedefs

typedef enum
FlightLogFieldCondition 
FlightLogFieldCondition
 
typedef enum
FlightLogFieldPredictor 
FlightLogFieldPredictor
 
typedef enum FlightLogFieldEncoding FlightLogFieldEncoding
 
typedef enum FlightLogFieldSign FlightLogFieldSign
 
typedef enum FlightLogEvent FlightLogEvent
 
typedef struct
flightLogEvent_syncBeep_s 
flightLogEvent_syncBeep_t
 
typedef struct
flightLogEvent_inflightAdjustment_s 
flightLogEvent_inflightAdjustment_t
 
typedef struct
flightLogEvent_loggingResume_s 
flightLogEvent_loggingResume_t
 
typedef struct
flightLogEvent_gtuneCycleResult_s 
flightLogEvent_gtuneCycleResult_t
 
typedef union flightLogEventData_u flightLogEventData_t
 
typedef struct flightLogEvent_s flightLogEvent_t
 

Enumerations

enum  FlightLogFieldCondition {
  FLIGHT_LOG_FIELD_CONDITION_ALWAYS = 0, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_1, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_2, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_3,
  FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_4, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_5, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_6, FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_7,
  FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_8, FLIGHT_LOG_FIELD_CONDITION_TRICOPTER, FLIGHT_LOG_FIELD_CONDITION_MAG, FLIGHT_LOG_FIELD_CONDITION_BARO,
  FLIGHT_LOG_FIELD_CONDITION_VBAT, FLIGHT_LOG_FIELD_CONDITION_AMPERAGE_ADC, FLIGHT_LOG_FIELD_CONDITION_SONAR, FLIGHT_LOG_FIELD_CONDITION_RSSI,
  FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_0, FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_1, FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_2, FLIGHT_LOG_FIELD_CONDITION_NOT_LOGGING_EVERY_FRAME,
  FLIGHT_LOG_FIELD_CONDITION_NEVER, FLIGHT_LOG_FIELD_CONDITION_FIRST = FLIGHT_LOG_FIELD_CONDITION_ALWAYS, FLIGHT_LOG_FIELD_CONDITION_LAST = FLIGHT_LOG_FIELD_CONDITION_NEVER
}
 
enum  FlightLogFieldPredictor {
  FLIGHT_LOG_FIELD_PREDICTOR_0 = 0, FLIGHT_LOG_FIELD_PREDICTOR_PREVIOUS = 1, FLIGHT_LOG_FIELD_PREDICTOR_STRAIGHT_LINE = 2, FLIGHT_LOG_FIELD_PREDICTOR_AVERAGE_2 = 3,
  FLIGHT_LOG_FIELD_PREDICTOR_MINTHROTTLE = 4, FLIGHT_LOG_FIELD_PREDICTOR_MOTOR_0 = 5, FLIGHT_LOG_FIELD_PREDICTOR_INC = 6, FLIGHT_LOG_FIELD_PREDICTOR_HOME_COORD = 7,
  FLIGHT_LOG_FIELD_PREDICTOR_1500 = 8, FLIGHT_LOG_FIELD_PREDICTOR_VBATREF = 9, FLIGHT_LOG_FIELD_PREDICTOR_LAST_MAIN_FRAME_TIME = 10
}
 
enum  FlightLogFieldEncoding {
  FLIGHT_LOG_FIELD_ENCODING_SIGNED_VB = 0, FLIGHT_LOG_FIELD_ENCODING_UNSIGNED_VB = 1, FLIGHT_LOG_FIELD_ENCODING_NEG_14BIT = 3, FLIGHT_LOG_FIELD_ENCODING_TAG8_8SVB = 6,
  FLIGHT_LOG_FIELD_ENCODING_TAG2_3S32 = 7, FLIGHT_LOG_FIELD_ENCODING_TAG8_4S16 = 8, FLIGHT_LOG_FIELD_ENCODING_NULL = 9
}
 
enum  FlightLogFieldSign { FLIGHT_LOG_FIELD_UNSIGNED = 0, FLIGHT_LOG_FIELD_SIGNED = 1 }
 
enum  FlightLogEvent {
  FLIGHT_LOG_EVENT_SYNC_BEEP = 0, FLIGHT_LOG_EVENT_INFLIGHT_ADJUSTMENT = 13, FLIGHT_LOG_EVENT_LOGGING_RESUME = 14, FLIGHT_LOG_EVENT_GTUNE_RESULT = 20,
  FLIGHT_LOG_EVENT_LOG_END = 255
}
 

Macro Definition Documentation

#define FLIGHT_LOG_EVENT_INFLIGHT_ADJUSTMENT_FUNCTION_FLOAT_VALUE_FLAG   128

Typedef Documentation

Enumeration Type Documentation

Enumerator
FLIGHT_LOG_EVENT_SYNC_BEEP 
FLIGHT_LOG_EVENT_INFLIGHT_ADJUSTMENT 
FLIGHT_LOG_EVENT_LOGGING_RESUME 
FLIGHT_LOG_EVENT_GTUNE_RESULT 
FLIGHT_LOG_EVENT_LOG_END 
Enumerator
FLIGHT_LOG_FIELD_CONDITION_ALWAYS 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_1 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_2 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_3 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_4 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_5 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_6 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_7 
FLIGHT_LOG_FIELD_CONDITION_AT_LEAST_MOTORS_8 
FLIGHT_LOG_FIELD_CONDITION_TRICOPTER 
FLIGHT_LOG_FIELD_CONDITION_MAG 
FLIGHT_LOG_FIELD_CONDITION_BARO 
FLIGHT_LOG_FIELD_CONDITION_VBAT 
FLIGHT_LOG_FIELD_CONDITION_AMPERAGE_ADC 
FLIGHT_LOG_FIELD_CONDITION_SONAR 
FLIGHT_LOG_FIELD_CONDITION_RSSI 
FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_0 
FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_1 
FLIGHT_LOG_FIELD_CONDITION_NONZERO_PID_D_2 
FLIGHT_LOG_FIELD_CONDITION_NOT_LOGGING_EVERY_FRAME 
FLIGHT_LOG_FIELD_CONDITION_NEVER 
FLIGHT_LOG_FIELD_CONDITION_FIRST 
FLIGHT_LOG_FIELD_CONDITION_LAST 
Enumerator
FLIGHT_LOG_FIELD_ENCODING_SIGNED_VB 
FLIGHT_LOG_FIELD_ENCODING_UNSIGNED_VB 
FLIGHT_LOG_FIELD_ENCODING_NEG_14BIT 
FLIGHT_LOG_FIELD_ENCODING_TAG8_8SVB 
FLIGHT_LOG_FIELD_ENCODING_TAG2_3S32 
FLIGHT_LOG_FIELD_ENCODING_TAG8_4S16 
FLIGHT_LOG_FIELD_ENCODING_NULL 
Enumerator
FLIGHT_LOG_FIELD_PREDICTOR_0 
FLIGHT_LOG_FIELD_PREDICTOR_PREVIOUS 
FLIGHT_LOG_FIELD_PREDICTOR_STRAIGHT_LINE 
FLIGHT_LOG_FIELD_PREDICTOR_AVERAGE_2 
FLIGHT_LOG_FIELD_PREDICTOR_MINTHROTTLE 
FLIGHT_LOG_FIELD_PREDICTOR_MOTOR_0 
FLIGHT_LOG_FIELD_PREDICTOR_INC 
FLIGHT_LOG_FIELD_PREDICTOR_HOME_COORD 
FLIGHT_LOG_FIELD_PREDICTOR_1500 
FLIGHT_LOG_FIELD_PREDICTOR_VBATREF 
FLIGHT_LOG_FIELD_PREDICTOR_LAST_MAIN_FRAME_TIME 
Enumerator
FLIGHT_LOG_FIELD_UNSIGNED 
FLIGHT_LOG_FIELD_SIGNED