Skip to content

Commit

Permalink
Updated dynamics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nandantumu committed Sep 23, 2024
1 parent 9b173e6 commit dc91a46
Showing 1 changed file with 37 additions and 32 deletions.
69 changes: 37 additions & 32 deletions tests/test_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
vehicle_dynamics_st,
)


def func_KS(
x,
t,
Expand All @@ -52,22 +53,24 @@ def func_KS(
f = vehicle_dynamics_ks(
x,
u,
mu,
C_Sf,
C_Sr,
lf,
lr,
h,
m,
I,
s_min,
s_max,
sv_min,
sv_max,
v_switch,
a_max,
v_min,
v_max,
params={
"mu": mu,
"C_Sf": C_Sf,
"C_Sr": C_Sr,
"lf": lf,
"lr": lr,
"h": h,
"m": m,
"I": I,
"s_min": s_min,
"s_max": s_max,
"sv_min": sv_min,
"sv_max": sv_max,
"v_switch": v_switch,
"a_max": a_max,
"v_min": v_min,
"v_max": v_max,
},
)
return f

Expand Down Expand Up @@ -96,22 +99,24 @@ def func_ST(
f = vehicle_dynamics_st(
x,
u,
mu,
C_Sf,
C_Sr,
lf,
lr,
h,
m,
I,
s_min,
s_max,
sv_min,
sv_max,
v_switch,
a_max,
v_min,
v_max,
params={
"mu": mu,
"C_Sf": C_Sf,
"C_Sr": C_Sr,
"lf": lf,
"lr": lr,
"h": h,
"m": m,
"I": I,
"s_min": s_min,
"s_max": s_max,
"sv_min": sv_min,
"sv_max": sv_max,
"v_switch": v_switch,
"a_max": a_max,
"v_min": v_min,
"v_max": v_max,
},
)
return f

Expand Down

0 comments on commit dc91a46

Please sign in to comment.