Skip to content

Commit

Permalink
made params static, refactored for new param loader
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Jan 29, 2024
1 parent 64a8951 commit d140754
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 102 deletions.
8 changes: 0 additions & 8 deletions config/private/mpc_tracker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ mrs_uav_trackers:

translation:

n_states: 12
n_inputs: 3

A: [1, 0.01, 0.00005, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0.01, 0.00005, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0.01, 0, 0, 0, 0, 0, 0, 0, 0,
Expand Down Expand Up @@ -68,9 +65,6 @@ mrs_uav_trackers:

heading:

n_states: 4
n_inputs: 1

A: [1, 0.01, 0.00005, 0,
0, 1, 0.01, 0.00005,
0, 0, 1, 0.01,
Expand All @@ -83,8 +77,6 @@ mrs_uav_trackers:

mpc_solver:

horizon_len: 40 # Horizon length is hardcoded in solver code, this value is used in other parts of the code

# dt1: 0.01 # dt1 is set as 1/main_rate
dt2: 0.2

Expand Down
Loading

0 comments on commit d140754

Please sign in to comment.