<SOS> Unrecognized function or variable 'setOccupancy'.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Walter Roberson
le 7 Déc 2021
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 commentaires
Cam Salzberger
le 8 Déc 2021
Pretty sure this is the issue:
show(setOccupancy)
There is no variable by that name. I believe you mean "show(signFollowerMap)"
-Cam
0 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!