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
ざきまつ
December 07, 2025
Programming
0
120
OpEnでMPCへの扉をオープン
制御工学勉強会第27回(2025/12/06) 制御ツール芸特別会 お気軽セッションでの発表
ざきまつ
December 07, 2025
Tweet
Share
More Decks by ざきまつ
See All by ざきまつ
フライトコントローラPX4の中身(制御器)を覗いてみた
santana_hammer
1
180
凸最適化からDC最適化まで
santana_hammer
1
370
Other Decks in Programming
See All in Programming
20260315 AWSなんもわからん🥲
chiilog
2
180
OTP を自動で入力する裏技
megabitsenmzq
0
130
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
150
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
150
PHPで TLSのプロトコルを実装してみる
higaki_program
0
520
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.1k
Ruby and LLM Ecosystem 2nd
koic
1
1.3k
CSC307 Lecture 15
javiergs
PRO
0
270
Feature Toggle は捨てやすく使おう
gennei
0
370
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
2k
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Done Done
chrislema
186
16k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
250
WCS-LA-2024
lcolladotor
0
500
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
New Earth Scene 8
popppiees
1
1.9k
Abbi's Birthday
coloredviolet
2
5.9k
Between Models and Reality
mayunak
2
240
Crafting Experiences
bethany
1
96
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
120
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
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)