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
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
OpEnでMPCへの扉をオープン
制御工学勉強会第27回(2025/12/06) 制御ツール芸特別会 お気軽セッションでの発表
ざきまつ
December 07, 2025
More Decks by ざきまつ
See All by ざきまつ
フライトコントローラPX4の中身(制御器)を覗いてみた
santana_hammer
1
230
凸最適化からDC最適化まで
santana_hammer
1
400
Other Decks in Programming
See All in Programming
不幸な GC
chencmd
0
810
Dockerfile CMD for Node.js
grazie1999
0
140
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.2k
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
100
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
230
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
200
業務時間外もAIに働いてもらう話
colorful12
2
8.5k
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
260
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.8k
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
570
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
250
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
560
Exploring anti-patterns in Rails
aemeredith
3
480
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
310
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
480
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
750
The Language of Interfaces
destraynor
162
27k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
970
Large-scale JavaScript Application Architecture
addyosmani
515
110k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
4
500
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)