Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
OpEnでMPCへの扉をオープン
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ざきまつ
December 07, 2025
Programming
0
100
OpEnでMPCへの扉をオープン
制御工学勉強会第27回(2025/12/06) 制御ツール芸特別会 お気軽セッションでの発表
ざきまつ
December 07, 2025
Tweet
Share
More Decks by ざきまつ
See All by ざきまつ
フライトコントローラPX4の中身(制御器)を覗いてみた
santana_hammer
1
170
凸最適化からDC最適化まで
santana_hammer
1
350
Other Decks in Programming
See All in Programming
Raku Raku Notion 20260128
hareyakayuruyaka
0
340
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
130
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
高速開発のためのコード整理術
sutetotanuki
1
410
Grafana:建立系統全知視角的捷徑
blueswen
0
330
CSC307 Lecture 05
javiergs
PRO
0
500
AgentCoreとHuman in the Loop
har1101
5
240
Oxlint JS plugins
kazupon
1
980
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Patterns of Patterns
denyspoltorak
0
1.4k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
490
組織で育むオブザーバビリティ
ryota_hnk
0
180
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
HDC tutorial
michielstock
1
390
Documentation Writing (for coders)
carmenintech
77
5.3k
Building Adaptive Systems
keathley
44
2.9k
Building an army of robots
kneath
306
46k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Faster Mobile Websites
deanohume
310
31k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
Transcript
OpEnでMPCへの扉をオープン(極寒) ~寒くなったって?ははは、もう既に冬だろう?~ ざきまつ(最適化屋さんのすがた) 制御工学勉強会 第027回(2025/12/06) 制御ツール芸大会 :santana_hammer :https://trigger-fk.github.io
MPCツール
MPCツール R. Vershueren et.al., “acados—a modular open-source framework for fast
embedded optimal control,” Mathematical Programming Computation, vol. 14, pp. 147-183, 2022.
acados J. Li, J. Sugihara and M. Zhao, "Servo Integrated
Nonlinear Model Predictive Control for Overactuated Tiltable-Quadrotors," IEEE Robotics and Automation Letters, vol. 9, no. 10, pp. 8770-8777, 2024.
ここで多分来るであろう質問 Q. なんでAcadosではなく、OpEnの話をするの? A. 僕が使っているから うるせぇ,組合せ最適化問題であるL0スパース最適制御問題ぶつけてNP困難に陥らせてやろうか
What is OpEn? • NMPCを組み込みマイコン等で実行するために設計 • 計算が軽量なアルゴリズムであるPANOCを採用 • ヘッセ行列の逆行列計算など計算負荷の高い処理を回避 •
OptimizerのコアをRustで構成(メモリ安全かつ高速) ➢ 依存関係のないRust/Cコードを生成するよ ➢ Pythonインターフェースに対応 ➢ MATLABはサポート終了 • Non-convex, Non-smoothな最適化問題にも対応可能 ➢ 衝突回避などの制御問題も扱えるよ
玄人向け:内部アルゴリズム PANOC (Proximal Averaged Newton-type method for Optimal Control /
Optimality Conditions) L.Stella et.al., "A Simple and Efficient Algorithm for Nonlinear Model Predictive Control," IEEE 56th Annual Conference on Decision and Control, pp. 1939-1944, 2017.
動かしてみよう サンプルコードはこちら:https://github.com/Trigger-FK/OpEn_unicycle もともとは自分の研究用テンプレなので、BSD 2-Clauseライセンスをつけてます…ごめんなさい…
ここで多分来るであろう質問 Q. ROS1とかROS2とかでも使えるの…? A. 使おうと思えば使える • ROS1については、OpEn側でちゃんと対応していて、Exampleも整備されてる • ROS2…?対応してたら今頃僕は苦労していません(吐血)
まとめ • 高速なNMPC向けのツールだよ!! • 数学的にも、解の収束について保証されているよ!! • 直感的に書けるよ!! • ROS1との連携、アルヨ!!(なおROS2)