フィルターのクリア

Unable to resolve the name robotics.OccupancyGrid

9 ビュー (過去 30 日間)
Faiza Gul
Faiza Gul 2021 年 6 月 17 日
コメント済み: Faiza Gul 2021 年 6 月 24 日
I have a code which use ros toolbox and robotics system toolbox. I have them installed.
The code was working fine but now its giving this error:
Unable to resolve the name robotics.OccupancyGrid
don't know how to resolve it.
map = robotics.OccupancyGrid(25,25,20)
  1 件のコメント
Amrtanshu Raj
Amrtanshu Raj 2021 年 6 月 21 日
Hi,
Can you check that you do not have any local function or variable with the name robotics defined.
Try
clear
Then again try.
map = robotics.OccupancyGrid(25,25,20)

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

採用された回答

Walter Roberson
Walter Roberson 2021 年 6 月 21 日
The Robotics Toolbox has binaryOccupancyMap https://www.mathworks.com/help/robotics/ref/binaryoccupancymap.html
However, OccupancyMap and OccupancyMap3D are from the Navigation Toolbox
  1 件のコメント
Faiza Gul
Faiza Gul 2021 年 6 月 24 日
Thank you so much Walter. Yes I didn't notice that navigation toolbox is missing. Problem solved.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNetwork Connection and Exploration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by