aldebaran / naoqi_navigation_samples

Contains samples for NAOqi navigation and exploration features. The samples are packaged into Choregraphe applications.
BSD 3-Clause "New" or "Revised" License
36 stars 17 forks source link

Error explore app #27

Open rini1010 opened 6 years ago

rini1010 commented 6 years ago

Hello, I just downloaded the navigation samples, but I'm getting an error:

[ERROR] behavior.box :_safeCallOfUserMethod:125 _BehaviorlastUploadedChoregrapheBehaviorexplore_display1362608160:/Get map_1: Traceback (most recent call last): File "/opt/aldebaran/lib/python2.7/site-packages/albehavior.py", line 115, in _safeCallOfUserMethod func() File "", line 21, in onInput_onStart File "/opt/aldebaran/lib/python2.7/site-packages/naoqi.py", line 194, in call return self.wrapped__.method_missing(self.method, *args, **kwargs) File "/opt/aldebaran/lib/python2.7/site-packages/naoqi.py", line 264, in method_missing raise e RuntimeError: ALNavigation::getMetricalMap No exploration loaded.

What do I have to do? What exploration do I have to load? Thank you for your help!

scarlettfres commented 6 years ago

Hi! When is this error happening? Usually it means you are trying to get a map but the robot do not have a loaded one.

Maybe you are trying to use patrol? In that case, after making maps with the explore app, you need to use the app "places" to load a map (and [optional] add points of interest in it). Tell me if it helps!

FLLTT commented 7 months ago

When I initially cloned this code, I encountered a similar issue. Can you provide guidance on how to address it?