You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on my own script using a part of the patrol behavior from this solution. We have a scanned map and we have Pepper choosing his own targets on the map to move to. But we've noticed that he says "Oops, there is an obstacle" quite often. Is there a way to customize how near an object Pepper is allowed to go before "4" is returned as returnValue by "self.nav.navigateToInMap([target[0], target[1], 0.0], _async=True)"?
The text was updated successfully, but these errors were encountered:
Hello,
as stated in the documentation, the call will return if the robot has not been able to reach its target, possibly because of an obstacle on the way.
For the external collision avoidance, you can refer to this documentation to change the security distances, and inspect ALMotion/MoveFailed event to see if an obstacle as been detected.
You can then customize your behavior by retrying to navigate when it fails.
Setting the external collision avoidance lower seems to get the desired effect, though I noticed that the distance at which it stops is also determined by the speed (for obvious reason now I think of it). It might be useful to be able to set (maximum) speed when moving to a certain point, so that I can better control his movement without having to lower the collision distance so much.
For now, setting the collision avoidance works however :)
Hi there,
I've been working on my own script using a part of the patrol behavior from this solution. We have a scanned map and we have Pepper choosing his own targets on the map to move to. But we've noticed that he says "Oops, there is an obstacle" quite often. Is there a way to customize how near an object Pepper is allowed to go before "4" is returned as returnValue by "self.nav.navigateToInMap([target[0], target[1], 0.0], _async=True)"?
The text was updated successfully, but these errors were encountered: