[Robotics Playground Toolbox Add-on] Error Message When Using Distance Sensor Block
조회 수: 2 (최근 30일)
이전 댓글 표시
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/437418/image.png)
댓글 수: 0
답변 (1개)
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Robotics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!