<SOS> Unrecognized function or variable 'setOccupancy'.
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi team,
I am trying to create an occupany map and set occupied space. However i am getting the error
"Unrecognized function or variable 'setOccupancy'."
%create occupany map and set occupied space
signFollowerMap = binaryOccupancyMap(5.2,5.2,100);
setOccupancy(signFollowerMap,[1,1],~imageMaskResized,"grid")
show(setOccupancy)
댓글 수: 0
답변 (2개)
Walter Roberson
2021년 12월 7일
It needs the Robotic System Toolbox, R2015a or later.
That is the same software and release that introduced binaryOccupancyMap, so it would be expected that if you had the first that you would also have the second -- unless you happen to have some third-party toolbox installed that defines one but not the other.
댓글 수: 0
Cam Salzberger
2021년 12월 8일
Pretty sure this is the issue:
show(setOccupancy)
There is no variable by that name. I believe you mean "show(signFollowerMap)"
-Cam
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!