mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 02:10:35 +08:00
msg: re-use manual_control_input in setpoint
This way we avoid duplication between manual_control_input and manual_control_setpoint.
This commit is contained in:
committed by
Matthias Grob
parent
baf81abbab
commit
6a6b8d49fc
@@ -1085,7 +1085,7 @@ bool Logger::start_stop_logging()
|
||||
|
||||
if (_manual_control_setpoint_sub.update(&manual_control_setpoint)) {
|
||||
|
||||
desired_state = (manual_control_setpoint.aux1 > 0.3f);
|
||||
desired_state = (manual_control_setpoint.chosen_input.aux1 > 0.3f);
|
||||
updated = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user