How to change arena size in Robotics Playground?

1 Ansicht (letzte 30 Tage)
Tarik Zengin
Tarik Zengin am 29 Apr. 2019
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

Antworten (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

Kategorien

Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by