[Robotics Playground Toolbox Add-on] Error Message When Using Distance Sensor Block

1 回表示 (過去 30 日間)
Benjamin Tay
Benjamin Tay 2020 年 12 月 1 日
コメント済み: Benjamin Tay 2020 年 12 月 2 日
I'm on Matlab R2020b. I was able to successfully run the Robotics Playground toolbox in the obstacle environment with 2 motors.
However, when I included a Distance Sensor Block into the Simulink model, I get the following error about robotics.OccupancyGrid

回答 (1 件)

Cam Salzberger
Cam Salzberger 2020 年 12 月 1 日
Hello Benjamin,
robotics.OccupancyGrid is the old name for the occupancyMap object. It is a valid alias, so if you try to use robotics.OccupancyGrid, it will automatically use occupancyMap instead. However, note that occupancyMap is in Navigation Toolbox, not the Robotics System Toolbox, so you'll need it installed and licensed to use this block.
-Cam
  1 件のコメント
Benjamin Tay
Benjamin Tay 2020 年 12 月 2 日
Thanks for the response. I have tested with the navigation toolbox installed and it is working now.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeManipulator Modeling についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by