Skip to content

Instantly share code, notes, and snippets.

@mayataka
Last active January 8, 2024 09:55
Show Gist options
  • Star 48 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save mayataka/7e608dbbbcd93d232cf44e6cab6b0332 to your computer and use it in GitHub Desktop.
Save mayataka/7e608dbbbcd93d232cf44e6cab6b0332 to your computer and use it in GitHub Desktop.
数値最適制御入門の入門
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SokhengDin
Copy link

SokhengDin commented Oct 20, 2022

Hello, Mayakata!. I am a Cambodian student and I also study in Electronic and Automation Engineering. I really like your work like this demonstration and another GitHub repository. The Autogenu-jupyter notebook is used for optimal control of Nonlinear model predictive control by using C/GMRES method is a very good library. I tried to find the tutorial so that I can use it in python practically, but I didn't found one, I hope you can make a tutorials about it, and I want to address one more thing. Do you know where can I find the good forum about Robotics discussion in any platform like Japan platform.
Thank you so much for sharing.

Best regards,
Sokheng Din

@mayataka
Copy link
Author

mayataka commented Oct 20, 2022

Hi @SokhengDin,

In autogenu-jupyter, actually the notebooks for the code generation (e.g., https://github.com/mayataka/autogenu-jupyter/blob/master/cartpole.ipynb) themselves contain several introductions of MPC.
Do you want more detailed explanations in the notebooks for the code generations?
Or do you want tutorials for the python bindings? Actually the latter is not suitable for the tutorial because we can formulate the OCP only in the code generation part.

Do you know where can I find the good forum about Robotics discussion in any platform like Japan platform.

What is the forum? Is it different from conferences such as IROS and ICRA?

Best,
Sotaro Katayama

@SokhengDin
Copy link

Ahh yeah, I may have to spend more time on Autogenu-jupyter. In this few week, I just found a Qiita forum discussion and sharing group. It is a very good platform, but I just want to know if there is any other platform that I can seek more information in studying robotics.
But anyway thank you for you replying.

Best regards,
Sokheng Din

@mayataka
Copy link
Author

I don't know about such services. You should ask your supervisor, professors at your University, and some others.
Also, "robotics" contains a lot of topics. Just regarding MPC, I picked up recommend books at the beginning of this notebook.

@mayataka
Copy link
Author

Here I'm willing to answer questions regarding MPC and optimal control. But your question is totally out of the scope of this notebook.
I hope you can find a good place to ask your questions.

@SokhengDin
Copy link

SokhengDin commented Oct 21, 2022

@mayataka Thank you for much for helping and kindness. I will to understand your notebook as soon as possible so that we can discuss about opc ;)!

@tatsukamijo
Copy link

tatsukamijo commented Nov 22, 2022

片山さん @mayataka
東大工学部機械工学科3年の上條と申します。
分かり易い資料を公開していただきありがとうございます。大変勉強になりました。

5. モデル予測制御CasADiによる実装のMPCクラスを定義している部分で、am_g0 = [] # 制約 lbg以下がこのページでは表示されていないようです。些細なことですが、念の為報告させていただきます。

@mayataka
Copy link
Author

@tatsukamijo
ごいただき報告ありがとうございます.本当ですね.ダウンロードすれば問題ないようですね.

@SokhengDin
Copy link

@mayataka Hi Mayataka, I have study some of your notebooks of AutoGenU. But I really don't understand Where is the closed loop of the system is happend? since I am planning to implement it in real-time robot with C/GMRES method on NMPC. Can you help indicate me where is it ? Thank you in advance!

@mayataka
Copy link
Author

@SokhengDin
Could you write the issue in https://github.com/mayataka/autogenu-jupyter? This is not the place to discuss autogenu-jupyter.

@chengkx1995
Copy link

Hello, Your paper is very good. "A moving switching sequence approach for nonlinear model predictive control of switched systems with state-dependent switches and state jumps". I'm very interested in your work. I would like to ask you some questions. 1."If the instant of the first switch of the switching sequence after the solution is updated is less than
the next sampling time, we predict the actual switch between the current sampling time and the next sampling time
and then remove variables related to the switch from the solution". How to implement in the program? Is it convenient to provide sample programs for learning?I'm looking forward to your reply. I wish you a happy day. Thank you very much.@mayataka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment