mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:13:34 +08:00
modules: lpe: fix double correction on lidar
This commit is contained in:
@@ -65,11 +65,6 @@ void BlockLocalPositionEstimator::lidarCorrect()
|
||||
|
||||
if (lidarMeasure(y) != OK) { return; }
|
||||
|
||||
// account for leaning
|
||||
y(0) = y(0) *
|
||||
cosf(_eul(0)) *
|
||||
cosf(_eul(1));
|
||||
|
||||
// measurement matrix
|
||||
Matrix<float, n_y_lidar, n_x> C;
|
||||
C.setZero();
|
||||
|
||||
Reference in New Issue
Block a user