Skip to content

Commit 999aa11

Browse files
committed
debug : input setpoint ru now works for LinModel
1 parent e26ddad commit 999aa11

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

Project.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelPredictiveControl"
22
uuid = "61f9bdb8-6ae4-484a-811f-bbf86720c31c"
33
authors = ["Francis Gagnon"]
4-
version = "0.5.7"
4+
version = "0.5.8"
55

66
[deps]
77
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"
@@ -25,8 +25,9 @@ RecipesBase = "1"
2525
julia = "1.6"
2626

2727
[extras]
28-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2928
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
29+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
30+
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
3031

3132
[targets]
32-
test = ["Test", "Documenter"]
33+
test = ["Test", "Documenter", "Plots"]

docs/src/public/generic_func.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Pages = ["generic_func.md"]
55
```
66

7+
This page contains the documentation of functions that are generic to [`SimModel`](@ref),
8+
[`StateEstimator`](@ref) and [`PredictiveController`](@ref) types.
9+
710
## Evaluate Output y
811

912
```@docs

src/plot_sim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ julia> estim = KalmanFilter(model, σR=[0.5], σQ=[0.25], σQ_int=[0.01], σP0_i
9999
100100
julia> res = sim!(estim, 50, [0], y_noise=[0.5], x_noise=[0.25], x0=[-10], x̂0=[0, 0]);
101101
102-
julia> using Plots; plot(res, plotŷ=true, plotu=false, plotx=true, plotx̂=true)
102+
julia> using Plots; plot(res, plotŷ=true, plotu=false, plotxwithx̂=true)
103103
104104
```
105105
"""

0 commit comments

Comments
 (0)