Effacer les filtres
Effacer les filtres

Unable to resolve the name robotics.OccupancyGrid

9 vues (au cours des 30 derniers jours)
Faiza Gul
Faiza Gul le 17 Juin 2021
Commenté : Faiza Gul le 24 Juin 2021
I have a code which use ros toolbox and robotics system toolbox. I have them installed.
The code was working fine but now its giving this error:
Unable to resolve the name robotics.OccupancyGrid
don't know how to resolve it.
map = robotics.OccupancyGrid(25,25,20)
  1 commentaire
Amrtanshu Raj
Amrtanshu Raj le 21 Juin 2021
Hi,
Can you check that you do not have any local function or variable with the name robotics defined.
Try
clear
Then again try.
map = robotics.OccupancyGrid(25,25,20)

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 21 Juin 2021
The Robotics Toolbox has binaryOccupancyMap https://www.mathworks.com/help/robotics/ref/binaryoccupancymap.html
However, OccupancyMap and OccupancyMap3D are from the Navigation Toolbox
  1 commentaire
Faiza Gul
Faiza Gul le 24 Juin 2021
Thank you so much Walter. Yes I didn't notice that navigation toolbox is missing. Problem solved.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Network Connection and Exploration 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!

Translated by