Skip to content

Commit 6f7f0f4

Browse files
committed
working model
1 parent df67d71 commit 6f7f0f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proj/model/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Config:
1414
INPUT_SIZE = 2
1515
ANGLE_IDX = 2 # state vector index which is angle, used to fit diff in
1616

17-
R = np.diag([0.01, 0.01]) # control cost
18-
Q = np.diag([1, 1, 1, 5, 0]) # state cost | x, y, theta, v, omega
17+
R = np.diag([0.05, 0.05]) # control cost
18+
Q = np.diag([1, 1, 1, 1, 0]) # state cost | x, y, theta, v, omega
1919
Sf = np.diag([0, 0, 0, 0, 0]) # final state cost
2020

2121
# STATE_SIZE = 4
@@ -65,7 +65,7 @@ class Config:
6565

6666
# ------------------------------ Planning params ----------------------------- #
6767
planning = dict( # params used to compute goal states to be used for control
68-
prediction_length=150,
68+
prediction_length=80,
6969
n_ahead=5, # start prediction states from N steps ahead
7070
)
7171

0 commit comments

Comments
 (0)