Skip to content

Commit 6205caf

Browse files
committed
added: LinearMPCext extension
1 parent 399968e commit 6205caf

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Project.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ SparseConnectivityTracer = "9f842d2f-2579-4b1d-911e-f412cf18a3f5"
2222
SparseMatrixColorings = "0a514795-09f3-496d-8182-132a7b665d35"
2323
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2424

25+
[weakdeps]
26+
LinearMPC = "82e1c212-e1a2-49d2-b26a-a31d6968e3bd"
27+
28+
[extensions]
29+
LinearMPCext = "LinearMPC"
30+
2531
[compat]
2632
ControlSystemsBase = "1.18.2"
2733
DAQP = "0.6, 0.7.1"
@@ -32,6 +38,7 @@ ForwardDiff = "0.10, 1"
3238
Ipopt = "1"
3339
JuMP = "1.21"
3440
LinearAlgebra = "1.10"
41+
LinearMPC = "0.7.0"
3542
Logging = "1.10"
3643
MathOptInterface = "1.46"
3744
OSQP = "0.8"
@@ -52,10 +59,11 @@ julia = "1.10"
5259
DAQP = "c47d62df-3981-49c8-9651-128b1cd08617"
5360
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5461
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
62+
LinearMPC = "82e1c212-e1a2-49d2-b26a-a31d6968e3bd"
5563
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
5664
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5765
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
5866
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"
5967

6068
[targets]
61-
test = ["Test", "TestItems", "TestItemRunner", "Documenter", "Plots", "DAQP", "FiniteDiff"]
69+
test = ["Test", "TestItems", "TestItemRunner", "Documenter", "Plots", "DAQP", "FiniteDiff", "LinearMPC"]

ext/LinearMPCext.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module LinearMPCext
2+
3+
using ModelPredictiveControl, LinearMPC
4+
5+
export hi
6+
7+
hi() = println("hello world!")
8+
9+
end # LinearMPCext

0 commit comments

Comments
 (0)