mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 13:38:53 +08:00
mc_att_control_main: fix check for hover thrust estimate update (#24750)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user