Skip to content

Commit f643d9f

Browse files
committed
minor doc correction
1 parent edbf158 commit f643d9f

File tree

2 files changed

+4
-41
lines changed

2 files changed

+4
-41
lines changed

src/controller/explicitmpc.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ The controller minimizes the following objective function at each discrete time
8282
+ \mathbf{(R̂_u - U)}' \mathbf{L}_{H_p} \mathbf{(R̂_u - U)}
8383
```
8484
85-
This method uses the default state estimator, a [`SteadyKalmanFilter`](@ref) with default
86-
arguments.
85+
See [`LinMPC`](@ref) for the variable definitions. This controller does not support
86+
constraints but the computational costs are extremely low (array division), therefore
87+
suitable for applications that require small sample times. This method uses the default
88+
state estimator, a [`SteadyKalmanFilter`](@ref) with default arguments.
8789
8890
# Arguments
8991
- `model::LinModel` : model used for controller predictions and state estimations.

test/test_predictive_control.jl

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,6 @@ end
8686
@test_throws ArgumentError updatestate!(mpc1, [0,0])
8787
end
8888

89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
99-
100-
101-
10289
@testset "ExplicitMPC construction" begin
10390
model = LinModel(sys, Ts, i_d=[3])
10491
mpc1 = ExplicitMPC(model, Hp=15)
@@ -163,32 +150,6 @@ end
163150
@test_throws ArgumentError updatestate!(mpc1, [0,0])
164151
end
165152

166-
167-
168-
169-
170-
171-
172-
173-
174-
175-
176-
177-
178-
179-
180-
181-
182-
183-
184-
185-
186-
187-
188-
189-
190-
191-
192153
@testset "NonLinMPC construction" begin
193154
linmodel1 = LinModel(sys,Ts,i_d=[3])
194155
nmpc0 = NonLinMPC(linmodel1, Hp=15)

0 commit comments

Comments
 (0)