Skip to content

Commit

Permalink
Fix for #53
Browse files Browse the repository at this point in the history
  • Loading branch information
nandantumu committed Dec 19, 2023
1 parent 02cb158 commit a1f4cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/f110_gym/envs/dynamic_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def vehicle_dynamics_st(
ACCL = u[1]

# switch to kinematic model for small velocities
if abs(V) < 0.5:
if V < 0.5:
# wheelbase
lwb = lf + lr
BETA_HAT = np.arctan(np.tan(DELTA) * lr /lwb)
Expand Down

0 comments on commit a1f4cb4

Please sign in to comment.