How to change arena size in Robotics Playground?

1 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Simscape Multibody 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by