You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add row of ones (to account for constant E term)
ifnp.size(inputs) ==0:
inputs=np.array([[1]])
else:
inputs=np.append(inputs, [[1]], 0)
The variable inputs defined in Line 119 is a array whose shape is (n, ).
Exceptions will be raised then from Line 125 because [[1]] is a matrix whose shape is (1, 1) that does not match with inputs.
All the examples are based on the ThrownObject class whose inputs is empty.
So you may don't notice this problem when test your code.
The text was updated successfully, but these errors were encountered:
Hi @CuiiGen, thanks for notifying us of this issue. We have pushed a hot fix v1.4.2, and the updated code can be installed using the standard pip install prog_algs.
prog_algs/src/prog_algs/state_estimators/kalman_filter.py
Lines 119 to 126 in 8689c09
The variable
inputs
defined in Line 119 is a array whose shape is(n, )
.Exceptions will be raised then from Line 125 because
[[1]]
is a matrix whose shape is(1, 1)
that does not match withinputs
.All the examples are based on the
ThrownObject
class whose inputs is empty.So you may don't notice this problem when test your code.
The text was updated successfully, but these errors were encountered: