|
|
@ -301,6 +301,17 @@ struct log_PWR_s { |
|
|
|
uint8_t high_power_rail_overcurrent; |
|
|
|
uint8_t high_power_rail_overcurrent; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* --- VICN - VICON POSITION --- */ |
|
|
|
|
|
|
|
#define LOG_VICN_MSG 25 |
|
|
|
|
|
|
|
struct log_VICN_s { |
|
|
|
|
|
|
|
float x; |
|
|
|
|
|
|
|
float y; |
|
|
|
|
|
|
|
float z; |
|
|
|
|
|
|
|
float roll; |
|
|
|
|
|
|
|
float pitch; |
|
|
|
|
|
|
|
float yaw; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/********** SYSTEM MESSAGES, ID > 0x80 **********/ |
|
|
|
/********** SYSTEM MESSAGES, ID > 0x80 **********/ |
|
|
|
|
|
|
|
|
|
|
|
/* --- TIME - TIME STAMP --- */ |
|
|
|
/* --- TIME - TIME STAMP --- */ |
|
|
@ -351,6 +362,7 @@ static const struct log_format_s log_formats[] = { |
|
|
|
LOG_FORMAT(TELE, "BBBBHHB", "RSSI,RemRSSI,Noise,RemNoise,RXErr,Fixed,TXBuf"), |
|
|
|
LOG_FORMAT(TELE, "BBBBHHB", "RSSI,RemRSSI,Noise,RemNoise,RXErr,Fixed,TXBuf"), |
|
|
|
LOG_FORMAT(ESTM, "ffffffffffBBBB", "s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,n_states,states_nan,cov_nan,kgain_nan"), |
|
|
|
LOG_FORMAT(ESTM, "ffffffffffBBBB", "s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,n_states,states_nan,cov_nan,kgain_nan"), |
|
|
|
LOG_FORMAT(PWR, "fffBBBBB", "Periph_5V,Servo_5V,RSSI,USB_OK,BRICK_OK,SRV_OK,PERIPH_OC,HIPWR_OC"), |
|
|
|
LOG_FORMAT(PWR, "fffBBBBB", "Periph_5V,Servo_5V,RSSI,USB_OK,BRICK_OK,SRV_OK,PERIPH_OC,HIPWR_OC"), |
|
|
|
|
|
|
|
LOG_FORMAT(VICN, "ffffff", "X,Y,Z,Roll,Pitch,Yaw"), |
|
|
|
|
|
|
|
|
|
|
|
/* system-level messages, ID >= 0x80 */ |
|
|
|
/* system-level messages, ID >= 0x80 */ |
|
|
|
/* FMT: don't write format of format message, it's useless */ |
|
|
|
/* FMT: don't write format of format message, it's useless */ |
|
|
|