Example #1
0
    [0, 0, 0, 0]  # y'
])

acceleration = numpy.array([[2], [0]])

dt = 1

kfilter = Kalman(initial_state, initial_covar)

observation = numpy.array([
    [4260],  # x
    [282],  # x'
    [0],  # y
    [0]  # y'
])
kfilter.estimate(observation, acceleration, dt)

observation = numpy.array([
    [4550],  # x
    [285],  # x'
    [0],  # y
    [0]  # y'
])

kfilter.estimate(observation, acceleration, dt)

observation = numpy.array([
    [4860],  # x
    [286],  # x'
    [0],  # y
    [0]  # y'