APM:Libraries
Classes | Macros | Enumerations | Variables
LogStructure.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogStructure
 
struct  log_Format
 
struct  log_Unit
 
struct  log_Format_Multiplier
 
struct  log_Format_Units
 
struct  UnitStructure
 
struct  MultiplierStructure
 
struct  log_Parameter
 
struct  log_DSF
 
struct  log_GPS
 
struct  log_GPA
 
struct  log_Message
 
struct  log_IMU
 
struct  log_IMUDT
 
struct  log_ISBH
 
struct  log_ISBD
 
struct  log_Vibe
 
struct  log_Gimbal1
 
struct  log_Gimbal2
 
struct  log_Gimbal3
 
struct  log_RCIN
 
struct  log_RCOUT
 
struct  log_RSSI
 
struct  log_BARO
 
struct  log_AHRS
 
struct  log_POS
 
struct  log_POWR
 
struct  log_EKF1
 
struct  log_EKF2
 
struct  log_NKF2
 
struct  log_NKF2a
 
struct  log_EKF3
 
struct  log_NKF3
 
struct  log_EKF4
 
struct  log_NKF4
 
struct  log_EKF5
 
struct  log_NKF5
 
struct  log_Quaternion
 
struct  log_RngBcnDebug
 
struct  log_VisualOdom
 
struct  log_ekfBodyOdomDebug
 
struct  log_ekfStateVar
 
struct  log_Cmd
 
struct  log_Radio
 
struct  log_Camera
 
struct  log_Attitude
 
struct  log_PID
 
struct  log_Current
 
struct  log_Current_Cells
 
struct  log_Compass
 
struct  log_Mode
 
struct  log_RFND
 
struct  log_TERRAIN
 
struct  log_Ubx1
 
struct  log_Ubx2
 
struct  log_GPS_RAW
 
struct  log_GPS_RAWH
 
struct  log_GPS_RAWS
 
struct  log_GPS_SBF_EVENT
 
struct  log_Esc
 
struct  log_AIRSPEED
 
struct  log_ACCEL
 
struct  log_GYRO
 
struct  log_DF_MAV_Stats
 
struct  log_ORGN
 
struct  log_RPM
 
struct  log_Rate
 
struct  log_SbpLLH
 
struct  log_SbpHealth
 
struct  log_SbpRAWH
 
struct  log_SbpRAWM
 
struct  log_SbpEvent
 
struct  log_Rally
 
struct  log_AOA_SSA
 
struct  log_Beacon
 
struct  log_Proximity
 
struct  log_Performance
 
struct  log_SRTL
 
struct  log_DSTL
 

Macros

#define LOG_PACKET_HEADER   uint8_t head1, head2, msgid;
 
#define LOG_PACKET_HEADER_INIT(id)   head1 : HEAD_BYTE1, head2 : HEAD_BYTE2, msgid : id
 
#define LOG_PACKET_HEADER_LEN   3
 
#define HEAD_BYTE1   0xA3
 
#define HEAD_BYTE2   0x95
 
#define ACC_LABELS   "TimeUS,SampleUS,AccX,AccY,AccZ"
 
#define ACC_FMT   "QQfff"
 
#define ACC_UNITS   "ssnnn"
 
#define ACC_MULTS   "FF000"
 
#define BARO_LABELS   "TimeUS,Alt,Press,Temp,CRt,SMS,Offset,GndTemp"
 
#define BARO_FMT   "QffcfIff"
 
#define BARO_UNITS   "smPOnsmO"
 
#define BARO_MULTS   "F00B0C?0"
 
#define ESC_LABELS   "TimeUS,RPM,Volt,Curr,Temp,CTot"
 
#define ESC_FMT   "QeCCcH"
 
#define ESC_UNITS   "sqvAO-"
 
#define ESC_MULTS   "FBBBB-"
 
#define GPA_LABELS   "TimeUS,VDop,HAcc,VAcc,SAcc,VV,SMS,Delta"
 
#define GPA_FMT   "QCCCCBIH"
 
#define GPA_UNITS   "smmmn-ss"
 
#define GPA_MULTS   "FBBBB-CF"
 
#define GPS_LABELS   "TimeUS,Status,GMS,GWk,NSats,HDop,Lat,Lng,Alt,Spd,GCrs,VZ,U"
 
#define GPS_FMT   "QBIHBcLLefffB"
 
#define GPS_UNITS   "s---SmDUmnhn-"
 
#define GPS_MULTS   "F---0BGGBBB0-"
 
#define GYR_LABELS   "TimeUS,SampleUS,GyrX,GyrY,GyrZ"
 
#define GYR_FMT   "QQfff"
 
#define GYR_UNITS   "ssEEE"
 
#define GYR_MULTS   "FF000"
 
#define IMT_LABELS   "TimeUS,DelT,DelvT,DelaT,DelAX,DelAY,DelAZ,DelVX,DelVY,DelVZ"
 
#define IMT_FMT   "Qfffffffff"
 
#define IMT_UNITS   "ssssrrrnnn"
 
#define IMT_MULTS   "FF00000000"
 
#define ISBH_LABELS   "TimeUS,N,type,instance,mul,smp_cnt,SampleUS,smp_rate"
 
#define ISBH_FMT   "QHBBHHQf"
 
#define ISBH_UNITS   "s-----sz"
 
#define ISBH_MULTS   "F-----F-"
 
#define ISBD_LABELS   "TimeUS,N,seqno,x,y,z"
 
#define ISBD_FMT   "QHHaaa"
 
#define ISBD_UNITS   "s--ooo"
 
#define ISBD_MULTS   "F--???"
 
#define IMU_LABELS   "TimeUS,GyrX,GyrY,GyrZ,AccX,AccY,AccZ,EG,EA,T,GH,AH,GHz,AHz"
 
#define IMU_FMT   "QffffffIIfBBHH"
 
#define IMU_UNITS   "sEEEooo--O--zz"
 
#define IMU_MULTS   "F000000-----00"
 
#define MAG_LABELS   "TimeUS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ,Health,S"
 
#define MAG_FMT   "QhhhhhhhhhBI"
 
#define MAG_UNITS   "sGGGGGGGGG-s"
 
#define MAG_MULTS   "FCCCCCCCCC-F"
 
#define PID_LABELS   "TimeUS,Des,P,I,D,FF,AFF"
 
#define PID_FMT   "Qffffff"
 
#define PID_UNITS   "s------"
 
#define PID_MULTS   "F------"
 
#define QUAT_LABELS   "TimeUS,Q1,Q2,Q3,Q4"
 
#define QUAT_FMT   "Qffff"
 
#define QUAT_UNITS   "s????"
 
#define QUAT_MULTS   "F????"
 
#define CURR_LABELS   "TimeUS,Volt,VoltR,Curr,CurrTot,EnrgTot,Temp,Res"
 
#define CURR_FMT   "Qfffffcf"
 
#define CURR_UNITS   "svvA?JOw"
 
#define CURR_MULTS   "F000?/?0"
 
#define CURR_CELL_LABELS   "TimeUS,Volt,V1,V2,V3,V4,V5,V6,V7,V8,V9,V10"
 
#define CURR_CELL_FMT   "QfHHHHHHHHHH"
 
#define CURR_CELL_UNITS   "svvvvvvvvvvv"
 
#define CURR_CELL_MULTS   "F00000000000"
 
#define ARSP_LABELS   "TimeUS,Airspeed,DiffPress,Temp,RawPress,Offset,U,Health,Primary"
 
#define ARSP_FMT   "QffcffBBB"
 
#define ARSP_UNITS   "snPOPP---"
 
#define ARSP_MULTS   "F00B00---"
 
#define LOG_BASE_STRUCTURES
 
#define LOG_EXTRA_STRUCTURES
 
#define LOG_SBP_STRUCTURES
 
#define LOG_COMMON_STRUCTURES   LOG_BASE_STRUCTURES, LOG_EXTRA_STRUCTURES, LOG_SBP_STRUCTURES
 

Enumerations

enum  LogMessages : uint8_t {
  LOG_NKF1_MSG = 64, LOG_NKF2_MSG, LOG_NKF3_MSG, LOG_NKF4_MSG,
  LOG_NKF5_MSG, LOG_NKF6_MSG, LOG_NKF7_MSG, LOG_NKF8_MSG,
  LOG_NKF9_MSG, LOG_NKF10_MSG, LOG_NKQ1_MSG, LOG_NKQ2_MSG,
  LOG_XKF1_MSG, LOG_XKF2_MSG, LOG_XKF3_MSG, LOG_XKF4_MSG,
  LOG_XKF5_MSG, LOG_XKF6_MSG, LOG_XKF7_MSG, LOG_XKF8_MSG,
  LOG_XKF9_MSG, LOG_XKF10_MSG, LOG_XKQ1_MSG, LOG_XKQ2_MSG,
  LOG_XKFD_MSG, LOG_XKV1_MSG, LOG_XKV2_MSG, LOG_FORMAT_MSG = 128,
  LOG_PARAMETER_MSG, LOG_GPS_MSG, LOG_GPS2_MSG, LOG_GPSB_MSG,
  LOG_IMU_MSG, LOG_MESSAGE_MSG, LOG_RCIN_MSG, LOG_RCOUT_MSG,
  LOG_RSSI_MSG, LOG_IMU2_MSG, LOG_BARO_MSG, LOG_POWR_MSG,
  LOG_AHR2_MSG, LOG_SIMSTATE_MSG, LOG_CMD_MSG, LOG_RADIO_MSG,
  LOG_ATRP_MSG, LOG_CAMERA_MSG, LOG_IMU3_MSG, LOG_TERRAIN_MSG,
  LOG_GPS_UBX1_MSG, LOG_GPS_UBX2_MSG, LOG_GPS2_UBX1_MSG, LOG_GPS2_UBX2_MSG,
  LOG_ESC1_MSG, LOG_ESC2_MSG, LOG_ESC3_MSG, LOG_ESC4_MSG,
  LOG_ESC5_MSG, LOG_ESC6_MSG, LOG_ESC7_MSG, LOG_ESC8_MSG,
  LOG_BAR2_MSG, LOG_ARSP_MSG, LOG_ATTITUDE_MSG, LOG_CURRENT_MSG,
  LOG_CURRENT2_MSG, LOG_CURRENT_CELLS_MSG, LOG_CURRENT_CELLS2_MSG, LOG_COMPASS_MSG,
  LOG_COMPASS2_MSG, LOG_COMPASS3_MSG, LOG_MODE_MSG, LOG_GPS_RAW_MSG,
  LOG_GPS_RAWH_MSG, LOG_GPS_RAWS_MSG, LOG_GPS_SBF_EVENT_MSG, LOG_ACC1_MSG,
  LOG_ACC2_MSG, LOG_ACC3_MSG, LOG_GYR1_MSG, LOG_GYR2_MSG,
  LOG_GYR3_MSG, LOG_POS_MSG, LOG_PIDR_MSG, LOG_PIDP_MSG,
  LOG_PIDY_MSG, LOG_PIDA_MSG, LOG_PIDS_MSG, LOG_DSTL_MSG,
  LOG_VIBE_MSG, LOG_IMUDT_MSG, LOG_IMUDT2_MSG, LOG_IMUDT3_MSG,
  LOG_ORGN_MSG, LOG_RPM_MSG, LOG_GPA_MSG, LOG_GPA2_MSG,
  LOG_GPAB_MSG, LOG_RFND_MSG, LOG_BAR3_MSG, LOG_DF_MAV_STATS,
  LOG_FORMAT_UNITS_MSG, LOG_UNIT_MSG, LOG_MULT_MSG, LOG_MSG_SBPHEALTH,
  LOG_MSG_SBPLLH, LOG_MSG_SBPBASELINE, LOG_MSG_SBPTRACKING1, LOG_MSG_SBPTRACKING2,
  LOG_MSG_SBPRAWH, LOG_MSG_SBPRAWM, LOG_MSG_SBPEVENT, LOG_TRIGGER_MSG,
  LOG_GIMBAL1_MSG, LOG_GIMBAL2_MSG, LOG_GIMBAL3_MSG, LOG_RATE_MSG,
  LOG_RALLY_MSG, LOG_VISUALODOM_MSG, LOG_AOA_SSA_MSG, LOG_BEACON_MSG,
  LOG_PROXIMITY_MSG, LOG_DF_FILE_STATS, LOG_SRTL_MSG, LOG_ISBH_MSG,
  LOG_ISBD_MSG, LOG_ASP2_MSG, LOG_PERFORMANCE_MSG, _LOG_LAST_MSG_
}
 
enum  LogOriginType { ekf_origin = 0, ahrs_home = 1 }
 

Variables

static const uint8_t LS_NAME_SIZE = 5
 
static const uint8_t LS_FORMAT_SIZE = 17
 
static const uint8_t LS_LABELS_SIZE = 65
 
static const uint8_t LS_UNITS_SIZE = 17
 
static const uint8_t LS_MULTIPLIERS_SIZE = 17
 
const struct UnitStructure log_Units []
 
const struct MultiplierStructure log_Multipliers []
 

Macro Definition Documentation

◆ ACC_FMT

#define ACC_FMT   "QQfff"

Definition at line 1072 of file LogStructure.h.

◆ ACC_LABELS

#define ACC_LABELS   "TimeUS,SampleUS,AccX,AccY,AccZ"

Definition at line 1071 of file LogStructure.h.

◆ ACC_MULTS

#define ACC_MULTS   "FF000"

Definition at line 1074 of file LogStructure.h.

◆ ACC_UNITS

#define ACC_UNITS   "ssnnn"

Definition at line 1073 of file LogStructure.h.

◆ ARSP_FMT

#define ARSP_FMT   "QffcffBBB"

Definition at line 1149 of file LogStructure.h.

◆ ARSP_LABELS

#define ARSP_LABELS   "TimeUS,Airspeed,DiffPress,Temp,RawPress,Offset,U,Health,Primary"

Definition at line 1148 of file LogStructure.h.

◆ ARSP_MULTS

#define ARSP_MULTS   "F00B00---"

Definition at line 1151 of file LogStructure.h.

◆ ARSP_UNITS

#define ARSP_UNITS   "snPOPP---"

Definition at line 1150 of file LogStructure.h.

◆ BARO_FMT

#define BARO_FMT   "QffcfIff"

Definition at line 1078 of file LogStructure.h.

◆ BARO_LABELS

#define BARO_LABELS   "TimeUS,Alt,Press,Temp,CRt,SMS,Offset,GndTemp"

Definition at line 1077 of file LogStructure.h.

◆ BARO_MULTS

#define BARO_MULTS   "F00B0C?0"

Definition at line 1080 of file LogStructure.h.

◆ BARO_UNITS

#define BARO_UNITS   "smPOnsmO"

Definition at line 1079 of file LogStructure.h.

◆ CURR_CELL_FMT

#define CURR_CELL_FMT   "QfHHHHHHHHHH"

Definition at line 1144 of file LogStructure.h.

◆ CURR_CELL_LABELS

#define CURR_CELL_LABELS   "TimeUS,Volt,V1,V2,V3,V4,V5,V6,V7,V8,V9,V10"

Definition at line 1143 of file LogStructure.h.

◆ CURR_CELL_MULTS

#define CURR_CELL_MULTS   "F00000000000"

Definition at line 1146 of file LogStructure.h.

◆ CURR_CELL_UNITS

#define CURR_CELL_UNITS   "svvvvvvvvvvv"

Definition at line 1145 of file LogStructure.h.

◆ CURR_FMT

#define CURR_FMT   "Qfffffcf"

Definition at line 1139 of file LogStructure.h.

◆ CURR_LABELS

#define CURR_LABELS   "TimeUS,Volt,VoltR,Curr,CurrTot,EnrgTot,Temp,Res"

Definition at line 1138 of file LogStructure.h.

◆ CURR_MULTS

#define CURR_MULTS   "F000?/?0"

Definition at line 1141 of file LogStructure.h.

◆ CURR_UNITS

#define CURR_UNITS   "svvA?JOw"

Definition at line 1140 of file LogStructure.h.

◆ ESC_FMT

#define ESC_FMT   "QeCCcH"

Definition at line 1083 of file LogStructure.h.

◆ ESC_LABELS

#define ESC_LABELS   "TimeUS,RPM,Volt,Curr,Temp,CTot"

Definition at line 1082 of file LogStructure.h.

◆ ESC_MULTS

#define ESC_MULTS   "FBBBB-"

Definition at line 1085 of file LogStructure.h.

◆ ESC_UNITS

#define ESC_UNITS   "sqvAO-"

Definition at line 1084 of file LogStructure.h.

◆ GPA_FMT

#define GPA_FMT   "QCCCCBIH"

Definition at line 1088 of file LogStructure.h.

◆ GPA_LABELS

#define GPA_LABELS   "TimeUS,VDop,HAcc,VAcc,SAcc,VV,SMS,Delta"

Definition at line 1087 of file LogStructure.h.

◆ GPA_MULTS

#define GPA_MULTS   "FBBBB-CF"

Definition at line 1090 of file LogStructure.h.

◆ GPA_UNITS

#define GPA_UNITS   "smmmn-ss"

Definition at line 1089 of file LogStructure.h.

◆ GPS_FMT

#define GPS_FMT   "QBIHBcLLefffB"

Definition at line 1094 of file LogStructure.h.

◆ GPS_LABELS

#define GPS_LABELS   "TimeUS,Status,GMS,GWk,NSats,HDop,Lat,Lng,Alt,Spd,GCrs,VZ,U"

Definition at line 1093 of file LogStructure.h.

◆ GPS_MULTS

#define GPS_MULTS   "F---0BGGBBB0-"

Definition at line 1096 of file LogStructure.h.

◆ GPS_UNITS

#define GPS_UNITS   "s---SmDUmnhn-"

Definition at line 1095 of file LogStructure.h.

◆ GYR_FMT

#define GYR_FMT   "QQfff"

Definition at line 1099 of file LogStructure.h.

◆ GYR_LABELS

#define GYR_LABELS   "TimeUS,SampleUS,GyrX,GyrY,GyrZ"

Definition at line 1098 of file LogStructure.h.

◆ GYR_MULTS

#define GYR_MULTS   "FF000"

Definition at line 1101 of file LogStructure.h.

◆ GYR_UNITS

#define GYR_UNITS   "ssEEE"

Definition at line 1100 of file LogStructure.h.

◆ HEAD_BYTE1

#define HEAD_BYTE1   0xA3

◆ HEAD_BYTE2

#define HEAD_BYTE2   0x95

◆ IMT_FMT

#define IMT_FMT   "Qfffffffff"

Definition at line 1104 of file LogStructure.h.

◆ IMT_LABELS

#define IMT_LABELS   "TimeUS,DelT,DelvT,DelaT,DelAX,DelAY,DelAZ,DelVX,DelVY,DelVZ"

Definition at line 1103 of file LogStructure.h.

◆ IMT_MULTS

#define IMT_MULTS   "FF00000000"

Definition at line 1106 of file LogStructure.h.

◆ IMT_UNITS

#define IMT_UNITS   "ssssrrrnnn"

Definition at line 1105 of file LogStructure.h.

◆ IMU_FMT

#define IMU_FMT   "QffffffIIfBBHH"

Definition at line 1119 of file LogStructure.h.

◆ IMU_LABELS

#define IMU_LABELS   "TimeUS,GyrX,GyrY,GyrZ,AccX,AccY,AccZ,EG,EA,T,GH,AH,GHz,AHz"

Definition at line 1118 of file LogStructure.h.

◆ IMU_MULTS

#define IMU_MULTS   "F000000-----00"

Definition at line 1121 of file LogStructure.h.

◆ IMU_UNITS

#define IMU_UNITS   "sEEEooo--O--zz"

Definition at line 1120 of file LogStructure.h.

◆ ISBD_FMT

#define ISBD_FMT   "QHHaaa"

Definition at line 1114 of file LogStructure.h.

◆ ISBD_LABELS

#define ISBD_LABELS   "TimeUS,N,seqno,x,y,z"

Definition at line 1113 of file LogStructure.h.

◆ ISBD_MULTS

#define ISBD_MULTS   "F--???"

Definition at line 1116 of file LogStructure.h.

◆ ISBD_UNITS

#define ISBD_UNITS   "s--ooo"

Definition at line 1115 of file LogStructure.h.

◆ ISBH_FMT

#define ISBH_FMT   "QHBBHHQf"

Definition at line 1109 of file LogStructure.h.

◆ ISBH_LABELS

#define ISBH_LABELS   "TimeUS,N,type,instance,mul,smp_cnt,SampleUS,smp_rate"

Definition at line 1108 of file LogStructure.h.

◆ ISBH_MULTS

#define ISBH_MULTS   "F-----F-"

Definition at line 1111 of file LogStructure.h.

◆ ISBH_UNITS

#define ISBH_UNITS   "s-----sz"

Definition at line 1110 of file LogStructure.h.

◆ LOG_BASE_STRUCTURES

#define LOG_BASE_STRUCTURES

Definition at line 1178 of file LogStructure.h.

◆ LOG_COMMON_STRUCTURES

#define LOG_COMMON_STRUCTURES   LOG_BASE_STRUCTURES, LOG_EXTRA_STRUCTURES, LOG_SBP_STRUCTURES

Definition at line 1424 of file LogStructure.h.

◆ LOG_EXTRA_STRUCTURES

#define LOG_EXTRA_STRUCTURES

Definition at line 1253 of file LogStructure.h.

◆ LOG_PACKET_HEADER

#define LOG_PACKET_HEADER   uint8_t head1, head2, msgid;

Definition at line 7 of file LogStructure.h.

◆ LOG_PACKET_HEADER_INIT

#define LOG_PACKET_HEADER_INIT (   id)    head1 : HEAD_BYTE1, head2 : HEAD_BYTE2, msgid : id

Definition at line 8 of file LogStructure.h.

Referenced by AP_Landing_Deepstall::Log(), AP_InertialSensor_Backend::log_accel_raw(), AP_GPS_SBF::log_ExtEventPVTGeodetic(), AP_InertialSensor_Backend::log_gyro_raw(), AP_GPS_UBLOX::log_mon_hw(), AP_GPS_UBLOX::log_mon_hw2(), AP_GPS_UBLOX::log_rxm_raw(), AP_GPS_UBLOX::log_rxm_rawx(), DataFlash_Class::Log_Write_AHRS2(), DataFlash_Class::Log_Write_Airspeed(), DataFlash_Class::Log_Write_AOA_SSA(), DataFlash_Class::Log_Write_Attitude(), DataFlash_Class::Log_Write_AttitudeView(), DataFlash_Class::Log_Write_Baro_instance(), DataFlash_Class::Log_Write_Beacon(), DataFlash_Class::Log_Write_CameraInfo(), DataFlash_Class::Log_Write_Compass_instance(), DataFlash_Class::Log_Write_Current_instance(), DataFlash_MAVLink::Log_Write_DF_MAV(), DataFlash_Class::Log_Write_ESC(), DataFlash_Class::Log_Write_GPS(), DataFlash_Class::Log_Write_IMU_instance(), DataFlash_Class::Log_Write_IMUDT_instance(), DataFlash_Class::Log_Write_ISBD(), DataFlash_Class::Log_Write_ISBH(), DataFlash_Backend::Log_Write_MavCmd(), DataFlash_Backend::Log_Write_Message(), DataFlash_Backend::Log_Write_Mode(), DataFlash_Backend::Log_Write_Multiplier(), DataFlash_Class::Log_Write_Origin(), DataFlash_Backend::Log_Write_Parameter(), AP_Scheduler::Log_Write_Performance(), DataFlash_Class::Log_Write_PID(), DataFlash_Class::Log_Write_POS(), DataFlash_Class::Log_Write_Power(), DataFlash_Class::Log_Write_Proximity(), DataFlash_Class::Log_Write_Radio(), DataFlash_Class::Log_Write_Rally(), DataFlash_Class::Log_Write_Rate(), DataFlash_Class::Log_Write_RCIN(), DataFlash_Class::Log_Write_RCOUT(), DataFlash_Class::Log_Write_RFND(), DataFlash_Class::Log_Write_RPM(), DataFlash_Class::Log_Write_RSSI(), SITL::SITL::Log_Write_SIMSTATE(), DataFlash_Class::Log_Write_SRTL(), DataFlashTest_AllTypes::Log_Write_TypeMessages(), DataFlash_Backend::Log_Write_Unit(), DataFlash_Class::Log_Write_Vibration(), DataFlash_Class::Log_Write_VisualOdom(), AP_GPS_SBP2::logging_ext_event(), AP_GPS_SBP::logging_log_full_update(), AP_GPS_SBP2::logging_log_full_update(), AP_GPS_SBP::logging_log_raw_sbp(), AP_GPS_SBP2::logging_log_raw_sbp(), loop(), DataFlashTest::setup(), and AP_AutoTune::write_log().

◆ LOG_PACKET_HEADER_LEN

#define LOG_PACKET_HEADER_LEN   3

Definition at line 9 of file LogStructure.h.

Referenced by DataFlash_Class::Log_Write_calc_msg_len().

◆ LOG_SBP_STRUCTURES

#define LOG_SBP_STRUCTURES
Value:
"SBPH", "QIII", "TimeUS,CrcError,LastInject,IARhyp", "s---", "F---" }, \
"SBRH", "QQQQQQQQ", "TimeUS,msg_flag,1,2,3,4,5,6", "s--b----", "F--0----" }, \
"SBRM", "QQQQQQQQQQQQQQQ", "TimeUS,msg_flag,1,2,3,4,5,6,7,8,9,10,11,12,13", "s??????????????", "F??????????????" }, \
"SBRE", "QHIiBB", "TimeUS,GWk,GMS,ns_residual,level,quality", "s?????", "F?????" }

Definition at line 1413 of file LogStructure.h.

◆ MAG_FMT

#define MAG_FMT   "QhhhhhhhhhBI"

Definition at line 1124 of file LogStructure.h.

◆ MAG_LABELS

#define MAG_LABELS   "TimeUS,MagX,MagY,MagZ,OfsX,OfsY,OfsZ,MOfsX,MOfsY,MOfsZ,Health,S"

Definition at line 1123 of file LogStructure.h.

◆ MAG_MULTS

#define MAG_MULTS   "FCCCCCCCCC-F"

Definition at line 1126 of file LogStructure.h.

◆ MAG_UNITS

#define MAG_UNITS   "sGGGGGGGGG-s"

Definition at line 1125 of file LogStructure.h.

◆ PID_FMT

#define PID_FMT   "Qffffff"

Definition at line 1129 of file LogStructure.h.

◆ PID_LABELS

#define PID_LABELS   "TimeUS,Des,P,I,D,FF,AFF"

Definition at line 1128 of file LogStructure.h.

◆ PID_MULTS

#define PID_MULTS   "F------"

Definition at line 1131 of file LogStructure.h.

◆ PID_UNITS

#define PID_UNITS   "s------"

Definition at line 1130 of file LogStructure.h.

◆ QUAT_FMT

#define QUAT_FMT   "Qffff"

Definition at line 1134 of file LogStructure.h.

◆ QUAT_LABELS

#define QUAT_LABELS   "TimeUS,Q1,Q2,Q3,Q4"

Definition at line 1133 of file LogStructure.h.

◆ QUAT_MULTS

#define QUAT_MULTS   "F????"

Definition at line 1136 of file LogStructure.h.

◆ QUAT_UNITS

#define QUAT_UNITS   "s????"

Definition at line 1135 of file LogStructure.h.

Enumeration Type Documentation

◆ LogMessages

enum LogMessages : uint8_t
Enumerator
LOG_NKF1_MSG 
LOG_NKF2_MSG 
LOG_NKF3_MSG 
LOG_NKF4_MSG 
LOG_NKF5_MSG 
LOG_NKF6_MSG 
LOG_NKF7_MSG 
LOG_NKF8_MSG 
LOG_NKF9_MSG 
LOG_NKF10_MSG 
LOG_NKQ1_MSG 
LOG_NKQ2_MSG 
LOG_XKF1_MSG 
LOG_XKF2_MSG 
LOG_XKF3_MSG 
LOG_XKF4_MSG 
LOG_XKF5_MSG 
LOG_XKF6_MSG 
LOG_XKF7_MSG 
LOG_XKF8_MSG 
LOG_XKF9_MSG 
LOG_XKF10_MSG 
LOG_XKQ1_MSG 
LOG_XKQ2_MSG 
LOG_XKFD_MSG 
LOG_XKV1_MSG 
LOG_XKV2_MSG 
LOG_FORMAT_MSG 
LOG_PARAMETER_MSG 
LOG_GPS_MSG 
LOG_GPS2_MSG 
LOG_GPSB_MSG 
LOG_IMU_MSG 
LOG_MESSAGE_MSG 
LOG_RCIN_MSG 
LOG_RCOUT_MSG 
LOG_RSSI_MSG 
LOG_IMU2_MSG 
LOG_BARO_MSG 
LOG_POWR_MSG 
LOG_AHR2_MSG 
LOG_SIMSTATE_MSG 
LOG_CMD_MSG 
LOG_RADIO_MSG 
LOG_ATRP_MSG 
LOG_CAMERA_MSG 
LOG_IMU3_MSG 
LOG_TERRAIN_MSG 
LOG_GPS_UBX1_MSG 
LOG_GPS_UBX2_MSG 
LOG_GPS2_UBX1_MSG 
LOG_GPS2_UBX2_MSG 
LOG_ESC1_MSG 
LOG_ESC2_MSG 
LOG_ESC3_MSG 
LOG_ESC4_MSG 
LOG_ESC5_MSG 
LOG_ESC6_MSG 
LOG_ESC7_MSG 
LOG_ESC8_MSG 
LOG_BAR2_MSG 
LOG_ARSP_MSG 
LOG_ATTITUDE_MSG 
LOG_CURRENT_MSG 
LOG_CURRENT2_MSG 
LOG_CURRENT_CELLS_MSG 
LOG_CURRENT_CELLS2_MSG 
LOG_COMPASS_MSG 
LOG_COMPASS2_MSG 
LOG_COMPASS3_MSG 
LOG_MODE_MSG 
LOG_GPS_RAW_MSG 
LOG_GPS_RAWH_MSG 
LOG_GPS_RAWS_MSG 
LOG_GPS_SBF_EVENT_MSG 
LOG_ACC1_MSG 
LOG_ACC2_MSG 
LOG_ACC3_MSG 
LOG_GYR1_MSG 
LOG_GYR2_MSG 
LOG_GYR3_MSG 
LOG_POS_MSG 
LOG_PIDR_MSG 
LOG_PIDP_MSG 
LOG_PIDY_MSG 
LOG_PIDA_MSG 
LOG_PIDS_MSG 
LOG_DSTL_MSG 
LOG_VIBE_MSG 
LOG_IMUDT_MSG 
LOG_IMUDT2_MSG 
LOG_IMUDT3_MSG 
LOG_ORGN_MSG 
LOG_RPM_MSG 
LOG_GPA_MSG 
LOG_GPA2_MSG 
LOG_GPAB_MSG 
LOG_RFND_MSG 
LOG_BAR3_MSG 
LOG_DF_MAV_STATS 
LOG_FORMAT_UNITS_MSG 
LOG_UNIT_MSG 
LOG_MULT_MSG 
LOG_MSG_SBPHEALTH 
LOG_MSG_SBPLLH 
LOG_MSG_SBPBASELINE 
LOG_MSG_SBPTRACKING1 
LOG_MSG_SBPTRACKING2 
LOG_MSG_SBPRAWH 
LOG_MSG_SBPRAWM 
LOG_MSG_SBPEVENT 
LOG_TRIGGER_MSG 
LOG_GIMBAL1_MSG 
LOG_GIMBAL2_MSG 
LOG_GIMBAL3_MSG 
LOG_RATE_MSG 
LOG_RALLY_MSG 
LOG_VISUALODOM_MSG 
LOG_AOA_SSA_MSG 
LOG_BEACON_MSG 
LOG_PROXIMITY_MSG 
LOG_DF_FILE_STATS 
LOG_SRTL_MSG 
LOG_ISBH_MSG 
LOG_ISBD_MSG 
LOG_ASP2_MSG 
LOG_PERFORMANCE_MSG 
_LOG_LAST_MSG_ 

Definition at line 1429 of file LogStructure.h.

◆ LogOriginType

Enumerator
ekf_origin 
ahrs_home 

Definition at line 1566 of file LogStructure.h.

Variable Documentation

◆ log_Multipliers

const struct MultiplierStructure log_Multipliers[]
Initial value:
= {
{ '-', 0 },
{ '?', 1 },
{ '2', 1e2 },
{ '1', 1e1 },
{ '0', 1e0 },
{ 'A', 1e-1 },
{ 'B', 1e-2 },
{ 'C', 1e-3 },
{ 'D', 1e-4 },
{ 'E', 1e-5 },
{ 'F', 1e-6 },
{ 'G', 1e-7 },
{ '!', 3.6 },
{ '/', 3600 },
}

Definition at line 123 of file LogStructure.h.

Referenced by DataFlash_Class::multiplier().

◆ log_Units

const struct UnitStructure log_Units[]

Definition at line 81 of file LogStructure.h.

◆ LS_FORMAT_SIZE

const uint8_t LS_FORMAT_SIZE = 17
static

◆ LS_LABELS_SIZE

const uint8_t LS_LABELS_SIZE = 65
static

◆ LS_MULTIPLIERS_SIZE

const uint8_t LS_MULTIPLIERS_SIZE = 17
static

◆ LS_NAME_SIZE

const uint8_t LS_NAME_SIZE = 5
static

◆ LS_UNITS_SIZE

const uint8_t LS_UNITS_SIZE = 17
static