Skip to content

Bug in ekf using orientation data? #237

@tscho1l

Description

@tscho1l

Hi,
in file ekf.cpp, line 165 to 187 [https://github.com/cra-ros-pkg/robot_localization/blob/indigo-devel/src/ekf.cpp#L165-L187] the points (2) and (3) should be switched.
While the filter state gets updated with the cropped orientation values from step (3), the mahalanobis check is done with the uncropped orientation data which leads to a jump of these values in the innovationSubset if any orientation exceeds the value +/- PI. If the jump is leading to a bigger value than the mahalanobis threshold allows, the filter update isn't executed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions