MATLAB Answers

0

How to change arena size in Robotics Playground?

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

  댓글 수: 0

로그인 to comment.

답변 수: 1


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

  댓글 수: 0

로그인 to comment.



Translated by