Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
rsasaki0109 committed Nov 19, 2023
1 parent 4fc119e commit b1f4cc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Localization/extended_kalman_filter/extended_kalman_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ def motion_model(x, u):


def observation_model(x):
H = np.array([[1, 0, 0, 0, 0],
[0, 1, 0, 0, 0]])
H = np.array([
[1, 0, 0, 0, 0],
[0, 1, 0, 0, 0]
])
z = H @ x

return z
Expand Down

0 comments on commit b1f4cc1

Please sign in to comment.