@@ -12,7 +12,7 @@ class Config:
1212 STATE_SIZE = 5
1313 INPUT_SIZE = 2
1414
15- R = np .diag ([0.0001 , 0.0001 ]) # control cost
15+ R = np .diag ([0.1 , 0.1 ]) # 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
@@ -25,25 +25,25 @@ class Config:
2525
2626 # ------------------------------- Mouse params ------------------------------- #
2727 # ? 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- # )
36-
37- # ? more realistic
3828 mouse = dict (
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
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
4535 )
4636
37+ # ? more realistic
38+ # mouse = dict(
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
45+ # )
46+
4747 # ------------------------------ Goal trajectory ----------------------------- #
4848
4949 trajectory = dict ( # parameters of the goals trajectory
@@ -53,7 +53,7 @@ class Config:
5353 max_speed = 100 ,
5454 min_speed = 80 ,
5555 min_dist = 5 , # if agent is within this distance from trajectory end the goal is considered achieved
56- dist_th = 300 , # keep frames only after moved away from start location
56+ dist_th = 60 , # keep frames only after moved away from start location
5757 resample = True , # if True when using tracking trajectory resamples it
5858 max_deg_interpol = 8 , # if using track fit a N degree polynomial to daa to smoothen
5959 randomize = True , # if true when using tracking it pulls a random trial
0 commit comments