Simulation Map Generator Error

2 visualizzazioni (ultimi 30 giorni)
Nicholas Garner
Nicholas Garner il 26 Ott 2021
Risposto: Cam Salzberger il 27 Ott 2021
Trying to run the simulation map generator for the mobile robotics toolbox. When I hit export, I get the error:
Unable to resolve the name robotics.BinaryOccupancyGrid.
Error in simMapGenerator/exportMapSelect (line 233)
app.simMap = robotics.BinaryOccupancyGrid(compMap,app.scaleFactor);

Risposta accettata

Cam Salzberger
Cam Salzberger il 27 Ott 2021
Hello Nicholas,
binaryOccupancyMap is the new name of robotics.BinaryOccupancyGrid, though the old way of calling it will still work as well. It is available through either Robotics System Toolbox or Navigation Toolbox. Make sure you have one of those toolboxes, as they are listed as being required on the Mobile Robotics Toolbox File Exchange entry.
If you do have one of those toolboxes, try the usual method of ensuring that functionality is available:
map = binaryOccupancyMap(10,10,10);
mapOldWay = robotics.BinaryOccupancyGrid(10,10,10);
If these do not work, ensure that your MATLAB search path is set correctly:
restoredefaultpath
rehash toolboxcache
-Cam

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by