I made an exploration with my Pepper and then I got the metrical representation of the map with ALNavigationProxy::getMetricalMap(). Now I want to make some changes to this metrical representation of the map - for example to change the coordinates of the beginning point (0, 0, 0). How can I then serialize this changed metrical data back to .expo
file so Pepper can load it and navigate in it.
Asked
Active
Viewed 152 times
1

stefan.stt
- 2,357
- 5
- 24
- 47
1 Answers
2
Modifing the .explo file is not supported. However for you application display you can save your modified version of your getMetricalMap data (serializing your own way) and display it instead of the real getMetricalMap of the robot. This way you can also show instead an architectural plan or any drawing of your choice. If you do, be sure that scale, origin, and orientation match.

ngaga
- 126
- 1
-
Your proposal is good, but it won't work for me. I need to create my own map and give it to the robot. I guess that would be one very good feature for next versions of naoqi. – stefan.stt Feb 16 '18 at 15:02
-
Are you completely sure .explo file modification is not supported? – stefan.stt Feb 16 '18 at 15:02
-
Yes, not supported for now. There is nothing in the documentation (http://doc.aldebaran.com/2-5/naoqi/motion/exploration-api.html?highlight=explore) that mentions it. – ngaga Feb 19 '18 at 08:26