필터 지우기
필터 지우기

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 CenterFile Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by