Closed f-fl0 closed 1 month ago
Attention: Patch coverage is 96.77419%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 92.15%. Comparing base (
361a57f
) to head (f3a12d7
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
include/mcl_3dl/state_6dof.h | 93.75% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In https://github.com/at-wat/mcl_3dl/blob/361a57f6c0ae5b1797f52827856f7829d6c9f0d2/src/mcl_3dl.cpp#L707-L750,
cov
is a13x13
matrix which contains the covariance information about the 3D position and the orientation in quaternion (top left7x7
sub matrix fromcov
) but it is used as a6x6
matrix representing the covariance of the 3D position and the orientation in Euler angles (roll pitch yaw). Thus the covariance matrix reported in/amcl_pose
is incorrect as well as the subsequent checks oncov
e.g. cov[5][5] does not represent to variance of yaw. To fix this issue, the covariance matrix calculations are now done using the Euler angles directly rather than quaternion by overridingcovElement
inState6DOF
.