55 STATE_SIZE = 5 ,
66 INPUT_SIZE = 2 ,
77 ANGLE_IDX = 2 , # state vector index which is angle, used to fit diff in
8- R = np .diag ([1.0e-04 , 1.0e-04 ]), # control cost
9- Q = np .diag ([30 , 30 , 30 , 3 , 0 ]), # state cost | x, y, theta, v, omega
8+ R = np .diag ([0.05 , 0.05 ]), # control cost
9+ Q = np .diag ([1 , 1 , 1 , 1 , 0 ]), # state cost | x, y, theta, v, omega
1010 Sf = np .diag ([0 , 0 , 0 , 0 , 0 ]), # final state cost
1111)
1212
3535 L = 2 , # half body width | cm
3636 R = 1.5 , # radius of wheels | cm
3737 d = 2 , # distance between axel and CoM | cm
38- length = 8.6 , # cm
38+ length = 1 , # 8.6, # cm
3939 m = round (23 / 9.81 , 2 ), # mass | g
4040 m_w = 0.8 , # mass of wheels/legs |g
4141 mouse_type = "realistic" ,
@@ -52,19 +52,19 @@ class Config:
5252
5353 USE_FAST = True # if true use cumba's methods
5454 SPAWN_TYPE = "trajectory"
55- LIVE_PLOT = True
55+ LIVE_PLOT = False
5656
57- mouse_type = "realistic "
57+ mouse_type = "easy "
5858 model_type = "cart"
5959
60- dt = 0.01
60+ dt = 0.005
6161
6262 # ------------------------------ Goal trajectory ----------------------------- #
6363
6464 trajectory = dict ( # parameters of the goals trajectory
6565 name = "tracking" ,
6666 # ? For artificial trajectories
67- nsteps = 10000 ,
67+ nsteps = 1000 ,
6868 distance = 150 ,
6969 max_speed = 100 ,
7070 min_speed = 80 ,
0 commit comments