Ask Your Question

Revision history [back]

Prefering in place rotation

Is there any way to have the robot prefer in place rotation to more circuitous changes in direction? The scenario I have is that the robot moves to the end of a one meter wide corridor, then I set a new goal within Rviz for it to return to its original location. Often the robot tries to do a circular turn, but hits a wall before it can make it. The most efficient path would simply be to do a 180 degree turn on the spot, then start driving.

This might have something to do with the minimum ranging capability of the Kinect sensor, such that it might not see the nearby wall as an obstacle.