mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 23:30:34 +08:00
change naming from tiltOffset to pitchOffset
This commit is contained in:
committed by
Mathieu Bresciani
parent
572ad2df0a
commit
d6b6276cdc
+1
-1
@@ -125,7 +125,7 @@ void Ekf::controlFusionModes()
|
||||
_range_sensor.runChecks(_imu_sample_delayed.time_us, _R_to_earth);
|
||||
|
||||
// update range sensor angle parameters in case they have changed
|
||||
_range_sensor.setTiltOffset(_params.rng_sens_pitch);
|
||||
_range_sensor.setPitchOffset(_params.rng_sens_pitch);
|
||||
_range_sensor.setCosMaxTilt(_params.range_cos_max_tilt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user