From 6205caf3e4e1969dcca6af96d1bd4e5818325dec Mon Sep 17 00:00:00 2001 From: franckgaga Date: Wed, 10 Dec 2025 17:34:25 -0500 Subject: [PATCH] added: `LinearMPCext` extension --- Project.toml | 10 +++++++++- ext/LinearMPCext.jl | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 ext/LinearMPCext.jl diff --git a/Project.toml b/Project.toml index feb433b48..6705afd74 100644 --- a/Project.toml +++ b/Project.toml @@ -22,6 +22,12 @@ SparseConnectivityTracer = "9f842d2f-2579-4b1d-911e-f412cf18a3f5" SparseMatrixColorings = "0a514795-09f3-496d-8182-132a7b665d35" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" +[weakdeps] +LinearMPC = "82e1c212-e1a2-49d2-b26a-a31d6968e3bd" + +[extensions] +LinearMPCext = "LinearMPC" + [compat] ControlSystemsBase = "1.18.2" DAQP = "0.6, 0.7.1" @@ -32,6 +38,7 @@ ForwardDiff = "0.10, 1" Ipopt = "1" JuMP = "1.21" LinearAlgebra = "1.10" +LinearMPC = "0.7.0" Logging = "1.10" MathOptInterface = "1.46" OSQP = "0.8" @@ -52,10 +59,11 @@ julia = "1.10" DAQP = "c47d62df-3981-49c8-9651-128b1cd08617" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41" +LinearMPC = "82e1c212-e1a2-49d2-b26a-a31d6968e3bd" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a" TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe" [targets] -test = ["Test", "TestItems", "TestItemRunner", "Documenter", "Plots", "DAQP", "FiniteDiff"] +test = ["Test", "TestItems", "TestItemRunner", "Documenter", "Plots", "DAQP", "FiniteDiff", "LinearMPC"] diff --git a/ext/LinearMPCext.jl b/ext/LinearMPCext.jl new file mode 100644 index 000000000..b182dc814 --- /dev/null +++ b/ext/LinearMPCext.jl @@ -0,0 +1,9 @@ +module LinearMPCext + +using ModelPredictiveControl, LinearMPC + +export hi + +hi() = println("hello world!") + +end # LinearMPCext \ No newline at end of file