Skip to content

Commit

Permalink
added wildcards to pattern match (please please approve i dont want t…
Browse files Browse the repository at this point in the history
…o do merging)
  • Loading branch information
TiaSinghania committed Feb 7, 2024
1 parent e46bca6 commit c157ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb_ws/src/buggy/scripts/2d_sim/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def dynamics(self, state, v):
dstate (np.Array): time derivative of state from dynamics
"""
l = Simulator.WHEELBASE
theta, delta = state
_, _, theta, delta = state

return np.array([v * np.cos(theta),
v * np.sin(theta),
Expand Down

0 comments on commit c157ed0

Please sign in to comment.