forked from utiasDSL/safe-control-gym
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'benchmark_mpsf' into benchmark_test
- Loading branch information
Showing
39 changed files
with
3,001 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
benchmarking_sim/cartpole/config_overrides/linear_mpsc_cartpole_stab_100.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 1 addition & 19 deletions
20
...marking_sim/quadrotor/config_overrides/mpc_acados_quadrotor_2D_attitude_tracking_100.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
algo: mpc_acados | ||
algo_config: | ||
# horizon: 40 | ||
# r_mpc: | ||
# - 0.8 | ||
# - 0.8 | ||
# q_mpc: | ||
# - 5.0 | ||
# - 0.1 | ||
# - 5.0 | ||
# - 0.1 | ||
# - 0.5 | ||
# - 0.001 | ||
horizon: 25 | ||
q_mpc: [18, 0.1, 18, 0.5, 0.5, 0.0001] | ||
r_mpc: [3., 3.] | ||
# Prior info | ||
prior_info: | ||
# prior_prop: null | ||
prior_prop: | ||
prior_prop: | ||
beta_1: 18.11298 | ||
beta_2: 3.6800 | ||
beta_3: 0 | ||
alpha_1: -140.8 | ||
alpha_2: -13.4 | ||
alpha_3: 124.8 | ||
# pitch_bias: 0.0 # in radian | ||
randomize_prior_prop: False | ||
prior_prop_rand_info: null | ||
warmstart: True | ||
# soft_constraints: True | ||
# use_RTI: True | ||
output_dir: ./mpc_acados/results | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/hpo/cartpole/config_overrides/linear_mpsc_cartpole_stab_100.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/mpsc/config_overrides/cartpole/linear_mpsc_cartpole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
safety_filter: linear_mpsc | ||
sf_config: | ||
# LQR controller parameters | ||
r_lin: | ||
r_mpc: | ||
- 0.1 | ||
q_lin: | ||
q_mpc: | ||
- 1 | ||
- 1 | ||
- 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
algo: lqr | ||
algo_config: | ||
# Cost parameters | ||
r_lin: | ||
r_mpc: | ||
- 0.1 | ||
q_lin: | ||
q_mpc: | ||
- 1 | ||
- 1 | ||
- 1 | ||
|
4 changes: 2 additions & 2 deletions
4
examples/mpsc/config_overrides/quadrotor_2D/linear_mpsc_quadrotor_2D.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
safety_filter: linear_mpsc | ||
sf_config: | ||
# LQR controller parameters | ||
r_lin: | ||
r_mpc: | ||
- 0.1 | ||
q_lin: | ||
q_mpc: | ||
- 1 | ||
- 1 | ||
- 1 | ||
|
4 changes: 2 additions & 2 deletions
4
examples/mpsc/config_overrides/quadrotor_2D/lqr_quadrotor_2D.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
algo: lqr | ||
algo_config: | ||
# Cost parameters | ||
r_lin: | ||
r_mpc: | ||
- 0.1 | ||
q_lin: | ||
q_mpc: | ||
- 1 | ||
- 1 | ||
- 1 | ||
|
4 changes: 2 additions & 2 deletions
4
examples/mpsc/config_overrides/quadrotor_3D/linear_mpsc_quadrotor_3D.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
experiments/mpsc/config_overrides/mpc_acados_quadrotor_2D_attitude_tracking.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
algo: mpc_acados | ||
algo_config: | ||
horizon: 25 | ||
q_mpc: [18, 0.1, 18, 0.5, 0.5, 0.0001] | ||
r_mpc: [3., 3.] | ||
prior_info: | ||
prior_prop: | ||
beta_1: 18.11298 | ||
beta_2: 3.6800 | ||
beta_3: 0 | ||
alpha_1: -140.8 | ||
alpha_2: -13.4 | ||
alpha_3: 124.8 | ||
randomize_prior_prop: False | ||
prior_prop_rand_info: null | ||
warmstart: True | ||
# soft_constraints: True | ||
# use_RTI: True | ||
output_dir: ./mpc_acados/results |
Oops, something went wrong.