Borrar filtros
Borrar filtros

Simulation Map Generator Error

1 visualización (últimos 30 días)
Nicholas Garner
Nicholas Garner el 26 de Oct. de 2021
Respondida: Cam Salzberger el 27 de Oct. de 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);

Respuesta aceptada

Cam Salzberger
Cam Salzberger el 27 de Oct. de 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

Más respuestas (0)

Categorías

Más información sobre Robotics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by