Skip to content

Commit 0c7d412

Browse files
committed
Change the switch speed for ST to 0.5
1 parent 4c65a68 commit 0c7d412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

f1tenth_gym/envs/dynamic_models/single_track.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def vehicle_dynamics_st(x: np.ndarray, u_init: np.ndarray, params: dict):
8383
ACCL = u[1]
8484

8585
# switch to kinematic model for small velocities
86-
if V < 0.1:
86+
if V < 0.5:
8787
# wheelbase
8888
lwb = params["lf"] + params["lr"]
8989
BETA_HAT = np.arctan(np.tan(DELTA) * params["lr"] / lwb)

0 commit comments

Comments
 (0)