TEMP: verbose auto-trim logging

This commit is contained in:
bresch 2024-01-25 11:43:56 +01:00 committed by Silvan Fuhrer
parent c661a6dfa7
commit 96517c05a0
2 changed files with 2 additions and 5 deletions

View File

@ -141,7 +141,6 @@ void FwAutoTrim::Run()
const hrt_abstime now = hrt_absolute_time();
const Vector3f torque{vehicle_torque_setpoint.xyz};
state state_prev = _state;
const bool run_auto_trim = _fixed_wing
&& _armed
@ -212,9 +211,7 @@ void FwAutoTrim::Run()
_state = state::fail;
}
if (_state != state_prev) {
publishStatus(vehicle_torque_setpoint.timestamp_sample);
}
publishStatus(vehicle_torque_setpoint.timestamp_sample);
perf_end(_cycle_perf);
}

View File

@ -51,7 +51,7 @@ void LoggedTopics::add_default_topics()
add_topic("airspeed", 1000);
add_optional_topic("airspeed_validated", 200);
add_optional_topic("autotune_attitude_control_status", 100);
add_optional_topic("auto_trim_status", 100);
add_optional_topic("auto_trim_status");
add_optional_topic("camera_capture");
add_optional_topic("camera_trigger");
add_topic("cellular_status", 200);