mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-27 02:04:00 -04:00
Plane: update for AP_TECS API change
This commit is contained in:
parent
1b7830c577
commit
574ba71ef3
@ -914,9 +914,6 @@ void Plane::update_alt()
|
||||
throttle_nudge,
|
||||
tecs_hgt_afe(),
|
||||
aerodynamic_load_factor);
|
||||
if (should_log(MASK_LOG_TECS)) {
|
||||
Log_Write_TECS_Tuning();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -272,12 +272,6 @@ void Plane::Log_Write_Control_Tuning()
|
||||
DataFlash.WriteBlock(&pkt, sizeof(pkt));
|
||||
}
|
||||
|
||||
// Write a TECS tuning packet
|
||||
void Plane::Log_Write_TECS_Tuning(void)
|
||||
{
|
||||
SpdHgt_Controller->log_data(DataFlash, LOG_TECS_MSG);
|
||||
}
|
||||
|
||||
struct PACKED log_Nav_Tuning {
|
||||
LOG_PACKET_HEADER;
|
||||
uint64_t time_us;
|
||||
@ -513,7 +507,6 @@ const struct LogStructure Plane::log_structure[] = {
|
||||
{ LOG_OPTFLOW_MSG, sizeof(log_Optflow),
|
||||
"OF", "QBffff", "TimeUS,Qual,flowX,flowY,bodyX,bodyY" },
|
||||
#endif
|
||||
TECS_LOG_FORMAT(LOG_TECS_MSG)
|
||||
};
|
||||
|
||||
#if CLI_ENABLED == ENABLED
|
||||
@ -586,7 +579,6 @@ void Plane::Log_Write_Attitude(void) {}
|
||||
void Plane::Log_Write_Performance() {}
|
||||
void Plane::Log_Write_Startup(uint8_t type) {}
|
||||
void Plane::Log_Write_Control_Tuning() {}
|
||||
void Plane::Log_Write_TECS_Tuning(void) {}
|
||||
void Plane::Log_Write_Nav_Tuning() {}
|
||||
void Plane::Log_Write_Status() {}
|
||||
void Plane::Log_Write_Sonar() {}
|
||||
|
@ -787,7 +787,6 @@ private:
|
||||
void Log_Write_Performance();
|
||||
void Log_Write_Startup(uint8_t type);
|
||||
void Log_Write_Control_Tuning();
|
||||
void Log_Write_TECS_Tuning(void);
|
||||
void Log_Write_Nav_Tuning();
|
||||
void Log_Write_Status();
|
||||
void Log_Write_Sonar();
|
||||
|
@ -112,7 +112,6 @@ enum log_messages {
|
||||
LOG_STARTUP_MSG,
|
||||
TYPE_AIRSTART_MSG,
|
||||
TYPE_GROUNDSTART_MSG,
|
||||
LOG_TECS_MSG,
|
||||
LOG_RC_MSG,
|
||||
LOG_SONAR_MSG,
|
||||
LOG_ARM_DISARM_MSG,
|
||||
|
Loading…
Reference in New Issue
Block a user