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.
Merging in latest changes from benchmark_mpsf which has nl_mpsc, chan…
…ges to mpsc_acados, and some config changes
- Loading branch information
1 parent
ebf05ce
commit 6e06675
Showing
13 changed files
with
1,188 additions
and
106 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
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
30 changes: 30 additions & 0 deletions
30
experiments/mpsc/config_overrides/nl_mpsc_quadrotor_2D_attitude.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,30 @@ | ||
safety_filter: nl_mpsc | ||
sf_config: | ||
# LQR controller parameters | ||
q_mpc: [18, 0.1, 18, 0.5, 0.5, 0.0001] | ||
r_mpc: [3., 3.] | ||
|
||
# MPC Parameters | ||
use_acados: True | ||
horizon: 25 | ||
warmstart: True | ||
integration_algo: rk4 | ||
use_terminal_set: False | ||
|
||
# Prior info | ||
prior_info: | ||
prior_prop: null | ||
randomize_prior_prop: False | ||
prior_prop_rand_info: null | ||
|
||
# Learning disturbance bounds | ||
n_samples: 6000 | ||
|
||
# Cost function | ||
cost_function: one_step_cost | ||
mpsc_cost_horizon: 5 | ||
decay_factor: 0.85 | ||
|
||
# Softening | ||
soften_constraints: True | ||
slack_cost: 250 |
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
Binary file added
BIN
+1.83 KB
experiments/mpsc/models/mpsc_parameters/nl_mpsc_quadrotor_2D_attitude.pkl
Binary file not shown.
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
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
Oops, something went wrong.