Skip to content

Commit 2b8962b

Browse files
author
pizarrob
committed
Using acados to redo 3D quad tracking experiments w ppo
1 parent 57fe487 commit 2b8962b

File tree

297 files changed

+24109
-24102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+24109
-24102
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ z_docstring.py
1414
TODOs.md
1515

1616
**/c_generated_code/**
17-
**/acados_**
17+
**/acados_*
1818

1919

2020
# macOS users

experiments/mpsc/models/rl_models/quadrotor_3D/track/ppo/mpsf/config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ output_dir: ./models/rl_models/quadrotor_3D/track/ppo/mpsf/
5353
overrides:
5454
- ./config_overrides/quadrotor_3D/ppo_quadrotor_3D.yaml
5555
- ./config_overrides/quadrotor_3D/quadrotor_3D_track.yaml
56-
- ./config_overrides/quadrotor_3D/nl_mpsc_quadrotor_3D_linear.yaml
56+
- ./config_overrides/quadrotor_3D/nl_mpsc_quadrotor_3D.yaml
5757
restore: null
5858
safety_filter: nl_mpsc
5959
seed: 2
6060
sf_config:
6161
cost_function: one_step_cost
6262
decay_factor: 0.85
63-
horizon: 5
64-
integration_algo: LTI
63+
horizon: 20
64+
integration_algo: rk4
6565
mpsc_cost_horizon: 2
6666
n_samples: 6000
6767
prior_info:
@@ -85,8 +85,9 @@ sf_config:
8585
- 90
8686
slack_cost: 250
8787
soften_constraints: true
88+
use_acados: true
8889
use_terminal_set: false
89-
warmstart: false
90+
warmstart: true
9091
tag: temp
9192
task: quadrotor
9293
task_config:
Lines changed: 100 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,101 @@
11
step,loss/approx_kl
2-
10000,0.019218411521675687
3-
20000,0.026657083141617476
4-
30000,0.01746212083380669
5-
40000,0.009919317167562742
6-
50000,0.02111920174987366
7-
60000,0.01724486625753343
8-
70000,0.01632642283414801
9-
80000,0.015934750298038126
10-
90000,0.0311812112107873
11-
100000,0.02331677962404986
12-
110000,0.03371710733820995
13-
120000,0.030351283960044377
14-
130000,0.03279125356736282
15-
140000,0.013648889834682145
16-
150000,0.023243115593989686
17-
160000,0.018773438936720295
18-
170000,0.018916703512271246
19-
180000,0.020599004921192925
20-
190000,0.02473791797334949
21-
200000,0.030151523572082322
22-
210000,0.0300494180371364
23-
220000,0.022491315736745794
24-
230000,0.02257620928188165
25-
240000,0.0337772676255554
26-
250000,0.02179785487242043
27-
260000,0.024567173871522147
28-
270000,0.023649742904429637
29-
280000,0.03622848563827573
30-
290000,0.032509950951983536
31-
300000,0.025151518592610955
32-
310000,0.03157009757123887
33-
320000,0.022510625546177228
34-
330000,0.02347554156246285
35-
340000,0.03789273059616486
36-
350000,0.018296154340108235
37-
360000,0.024769589103137455
38-
370000,0.03000542554073036
39-
380000,0.027254434209316968
40-
390000,0.019858964625746014
41-
400000,0.021827833106120433
42-
410000,0.024644354016830523
43-
420000,0.024889172101393343
44-
430000,0.025677736227711044
45-
440000,0.017630940380816657
46-
450000,0.017418021506940322
47-
460000,0.03001865083351732
48-
470000,0.03849459284295638
49-
480000,0.027187612513080238
50-
490000,0.02783633583846191
51-
500000,0.030406417387227214
52-
510000,0.02205329760909081
53-
520000,0.017947127064689997
54-
530000,0.015077587123960257
55-
540000,0.028686774040882785
56-
550000,0.023915739000464478
57-
560000,0.03114956431090831
58-
570000,0.03602626387340327
59-
580000,0.03039917517453432
60-
590000,0.031206621027862026
61-
600000,0.022293894877657292
62-
610000,0.028865009934330978
63-
620000,0.02208978966809809
64-
630000,0.028119065674642722
65-
640000,0.021514978787551323
66-
650000,0.026450703401739394
67-
660000,0.03150768955238163
68-
670000,0.016960548066223657
69-
680000,0.026525620510801668
70-
690000,0.03453690588163834
71-
700000,0.01535425819456577
72-
710000,0.0443646027551343
73-
720000,0.028342895085612933
74-
730000,0.031697115022689105
75-
740000,0.020270801335573196
76-
750000,0.02270585975299279
77-
760000,0.029777690395712847
78-
770000,0.01838145664272209
79-
780000,0.018685533913473287
80-
790000,0.024748957948759195
81-
800000,0.025136707412699855
82-
810000,0.020907793069879214
83-
820000,0.0339710091240704
84-
830000,0.03614181123363475
85-
840000,0.037953167936454216
86-
850000,0.023853258819629748
87-
860000,0.02006980065877239
88-
870000,0.03955576866865158
89-
880000,0.03445271523669362
90-
890000,0.021048704162240025
91-
900000,0.004874991532415152
92-
910000,0.027964027691632504
93-
920000,0.029088548819224035
94-
930000,0.01806592782959342
95-
940000,0.02563529678930839
96-
950000,0.021795741065094867
97-
960000,0.029152677084008854
98-
970000,0.027936897209535037
99-
980000,0.03480880114560326
100-
990000,0.02758963455756505
101-
1000000,0.019105506129562855
2+
10000,0.019267342627669375
3+
20000,0.024363837763667108
4+
30000,0.014531421413024265
5+
40000,0.015404991634810966
6+
50000,0.01967445264259974
7+
60000,0.011831035542612275
8+
70000,0.015947554850329955
9+
80000,0.012423110799863935
10+
90000,0.015280927252024411
11+
100000,0.02220213850960135
12+
110000,0.012349804987510047
13+
120000,0.01828191550448537
14+
130000,0.028774391937380035
15+
140000,0.015258365931610266
16+
150000,0.02345449778561791
17+
160000,0.027410029154270894
18+
170000,0.019542859680950642
19+
180000,0.019825634950151046
20+
190000,0.03221142959470551
21+
200000,0.034784734916562844
22+
210000,0.030562105650703116
23+
220000,0.03874263330362737
24+
230000,0.021048107215513784
25+
240000,0.023490131444608174
26+
250000,0.021312880609184508
27+
260000,0.016016186385725936
28+
270000,0.02354920314004024
29+
280000,0.02117116949521005
30+
290000,0.02161381165497005
31+
300000,0.019996917573735118
32+
310000,0.025390521561106043
33+
320000,0.019103998783975836
34+
330000,0.023890269749487443
35+
340000,0.02149774165203174
36+
350000,0.027560550440102815
37+
360000,0.019251088829090195
38+
370000,0.018506101751700043
39+
380000,0.028167877004792292
40+
390000,0.03479318170187374
41+
400000,0.0266167871033152
42+
410000,0.015584384184330701
43+
420000,0.023963576337943476
44+
430000,0.02370765237137675
45+
440000,0.0196848229970783
46+
450000,0.01707787923514843
47+
460000,0.022351718166222174
48+
470000,0.029980707820504902
49+
480000,0.01593708001698057
50+
490000,0.0208636624738574
51+
500000,0.01895671679327885
52+
510000,0.02578317878457407
53+
520000,0.023863097761447228
54+
530000,0.024787811158845822
55+
540000,0.031156336826582746
56+
550000,0.022468352271243934
57+
560000,0.026645291860525812
58+
570000,0.024720640030379094
59+
580000,0.01759668216109276
60+
590000,0.02706180753496786
61+
600000,0.0339090638483564
62+
610000,0.02853210787288844
63+
620000,0.025294201184685033
64+
630000,0.02775376898547014
65+
640000,0.025818154526253544
66+
650000,0.029325115183989205
67+
660000,0.030363137849296125
68+
670000,0.033694293132672706
69+
680000,0.030928333460663752
70+
690000,0.01576555427163839
71+
700000,0.017671081035708386
72+
710000,0.026511379843577744
73+
720000,0.00761902214338382
74+
730000,0.022826692027350264
75+
740000,0.049169556067014744
76+
750000,0.031370429896439116
77+
760000,0.02555970596149563
78+
770000,0.02349021608630816
79+
780000,0.02183050780246655
80+
790000,0.02328371241067847
81+
800000,0.02474643061868846
82+
810000,0.031218589407702287
83+
820000,0.031579947207743916
84+
830000,0.023295751493424176
85+
840000,0.02685841120158633
86+
850000,0.023855931901683412
87+
860000,0.022539945039898156
88+
870000,0.024766629251341023
89+
880000,0.020198249692718186
90+
890000,0.026560715958476068
91+
900000,0.016740009219696123
92+
910000,0.021413230057805772
93+
920000,0.026581356239815557
94+
930000,0.0316499317996204
95+
940000,0.02264405793199937
96+
950000,0.025666885481526458
97+
960000,0.01787282700339953
98+
970000,0.02585337059572339
99+
980000,0.026152768296500047
100+
990000,0.01878221851463119
101+
1000000,0.02222854793071747

0 commit comments

Comments
 (0)