Skip to content

kinematic_kf: identical rows in H when dim_z > 1 #343

Closed

Description

@Noah-Parsons

With order_by_dim=True, every row of H gets a 1 at the position of every dimension. For example, kinematic_kf(dim=2, order=1, dim_z=2).H is [[1, 0, 1, 0], [1, 0, 1, 0]]: two identical rows, each measuring the sum of x and y. The docstring says H is assigned “assuming the measurement is position, one per dimension”, which suggests [[1, 0, 0, 0], [0, 0, 1, 0]]. test_kinematic_filter asserts the summed row for dim_z=1, so I wanted to ask which is intended before proposing a change. Should row i measure dimension i? I’m happy to open a pull request either way. Related to #229.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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