<SOS> Unrecognized function or variable 'setOccupancy'.
8 views (last 30 days)
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);
Walter Roberson on 7 Dec 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.