フィルターのクリア

How can I control the motion at the joints with an input function?

3 ビュー (過去 30 日間)
景悦
景悦 2023 年 11 月 17 日
回答済み: Divyanshu 2023 年 12 月 15 日
I need to control the movement of the joints in the following model to simulate a bipedal robot walking, and need to input the reinforcement learning algorithm that we have already done (which was originally demonstrated with a 2D minifigure). Now the model below can only swing its legs naturally, like a pendulum, how should I import the position and angle information of each frame calculated by the reinforcement learning algorithm into simscape?

回答 (1 件)

Divyanshu
Divyanshu 2023 年 12 月 15 日
Hi,
As per my understanding you are trying to import the position and angle information calculated by reinforcement learning algorithm into simscape.
A possible workaround can be:
  • Use 'From Workspace' block using which you can load data from base workspace into a Simulink Model.
  • Next, you can use 'Simulink-PS Converter' to convert the output of above block into a physical signal.
Please refer the following documentations for better understanding of the above blocks:
Hope it helps!

カテゴリ

Help Center および File ExchangeConverters (High Power) についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by