Simulation Map Generator Error
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nicholas Garner
am 26 Okt. 2021
Beantwortet: Cam Salzberger
am 27 Okt. 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);
0 Kommentare
Akzeptierte Antwort
Cam Salzberger
am 27 Okt. 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
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Robotics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!