@@ -12,7 +12,7 @@ class Config:
1212 STATE_SIZE = 5
1313 INPUT_SIZE = 2
1414
15- R = np .diag ([1.5 , 1.5 ]) # control cost
15+ R = np .diag ([0.0001 , 0.0001 ]) # control cost
1616 Q = np .diag ([5 , 5 , 1 , 5 , 0 ]) # state cost | x, y, theta, v, omega
1717 Sf = np .diag ([0 , 0 , 0 , 0 , 0 ]) # final state cost
1818
@@ -24,14 +24,24 @@ class Config:
2424 # Sf = np.diag([2.5, 2.5, 0, 0]) # final state cost
2525
2626 # ------------------------------- Mouse params ------------------------------- #
27+ # ? works
28+ # mouse = dict(
29+ # L=1.5, # half body width | cm
30+ # R=1, # radius of wheels | cm
31+ # d=0.1, # distance between axel and CoM | cm
32+ # length=3, # cm
33+ # m=round(20 / 9.81, 2), # mass | g
34+ # m_w=round(2 / 9.81, 2), # mass of wheels/legs |g
35+ # )
2736
37+ # ? more realistic
2838 mouse = dict (
29- L = 1.5 , # half body width | cm
30- R = 1 , # radius of wheels | cm
31- d = 0.1 , # distance between axel and CoM | cm
32- length = 3 , # cm
33- m = round (20 / 9.81 , 2 ), # mass | g
34- m_w = round (2 / 9.81 , 2 ), # mass of wheels/legs |g
39+ L = 2 , # half body width | cm
40+ R = 2 , # radius of wheels | cm
41+ d = 3 , # distance between axel and CoM | cm
42+ length = 8.6 , # cm
43+ m = round (25 / 9.81 , 2 ), # mass | g
44+ m_w = round (0.6 / 9.81 , 2 ), # mass of wheels/legs |g
3545 )
3646
3747 # ------------------------------ Goal trajectory ----------------------------- #
0 commit comments