Reputation: 531
I am trying to move Pepper from one point to another which involves a turn of 90 degrees and it is around 40 metres distance. I can make it work when there are no obstacles but when there are obstacles the Pepper stops and then we don't know his location to move again. I am using ALNavigation navigateTo method.
I have tried getting the position by using ALMotion getRobotPosition but it is very error prone and I don't know if we can use that while using ALNavigation API.
Please suggest any solution for this.
Thanks
Upvotes: 1
Views: 929
Reputation: 992
Your best bet is to use ALNavigationProxy::navigateToInMap. You can play around with this example: https://github.com/aldebaran/naoqi_navigation_samples
Upvotes: 1