forked from Archive/PX4-Autopilot
TEMP: verbose auto-trim logging
This commit is contained in:
parent
c661a6dfa7
commit
96517c05a0
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue