mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mc_att_control_main: fix check for hover thrust estimate update (#24750)
This commit is contained in:
parent
f08d01b4d5
commit
9eaec534ab
@ -224,7 +224,7 @@ MulticopterAttitudeControl::Run()
|
||||
}
|
||||
|
||||
// Update hover thrust for stick scaling
|
||||
if (_vehicle_status_sub.updated()) {
|
||||
if (_hover_thrust_estimate_sub.updated()) {
|
||||
hover_thrust_estimate_s hover_thrust_estimate;
|
||||
|
||||
if (_hover_thrust_estimate_sub.update(&hover_thrust_estimate)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user