dev-ros/
rotate_recovery

Recovery behavior that attempts performing a 360 degree rotation of the robot

https://wiki.ros.org/rotate_recovery