Skip to content

Commit

Permalink
feat(ex3_ekf): fix function argument bug
Browse files Browse the repository at this point in the history
This commit fixes a bug that was introduced by the previous commit that prevents the ex3_ekf
function from being run.
  • Loading branch information
rickstaa committed May 30, 2023
1 parent 68e58d2 commit 59d4de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simzoo/envs/classic_control/ex3_ekf/ex3_ekf.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def step(self, action):
x_1, x_2 = state

# Retrieve reference
y_1 = self.reference(x_1, x_2)
y_1 = self.reference(x_1)
hat_y_1 = np.sin(hat_x_1 + self.dt * hat_x_2)

# Mimic the signal drop rate
Expand Down

0 comments on commit 59d4de5

Please sign in to comment.