mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
landing_target_estimator: fix param type: int -> int32_t
This commit is contained in:
parent
22acb1dab1
commit
a99e49a856
@ -317,7 +317,7 @@ void LandingTargetEstimator::_update_params()
|
||||
param_get(_paramHandle.meas_unc, &_params.meas_unc);
|
||||
param_get(_paramHandle.pos_unc_init, &_params.pos_unc_init);
|
||||
param_get(_paramHandle.vel_unc_init, &_params.vel_unc_init);
|
||||
int mode = 0;
|
||||
int32_t mode = 0;
|
||||
param_get(_paramHandle.mode, &mode);
|
||||
_params.mode = (TargetMode)mode;
|
||||
param_get(_paramHandle.scale_x, &_params.scale_x);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user