How to change arena size in Robotics Playground?

1 回表示 (過去 30 日間)
Tarik Zengin
Tarik Zengin 2019 年 4 月 29 日
Hi,
I'm trying to prepare an assignment for my students. Robotics Playground is a good option to visualize the results.
However I couldn't change the arena size in Mechanics Explorer. It gives the dimensions as in the screenshot below.
To make the long story short, how can I make custom arenas for Robotics Playground?
Thanks.
Screenshot_20190429_093141.png

回答 (1 件)

MathWorks Student Competitions Team
MathWorks Student Competitions Team 2019 年 5 月 13 日
Tarik,
If you are using the MATLAB mlrobot object, this uses a hidden Simulink model that contains all of the environment details. To open the model just use the following command in MATLAB or you can also navigate to the Robotics Playground example models.
>> RP_MATLAB_Disc_robot
Then if you double-click in the environment block you will some environment options you can change including the arena size (see picture attached). Make sure to save the model.
Hope this helps and we are happy you find this useful! Feel free to email us as well at passcompetitions@mathworks.com
Best regards,
MathWorks Student Competitions Team

カテゴリ

Help Center および File ExchangeSimscape Multibody についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by