How to Avoid Collision (Obstacle) while navigating using rtabmap_ros and navigation stack
Posted by
RTABPK on
Oct 07, 2019; 2:39am
URL: http://official-rtab-map-forum.206.s1.nabble.com/How-to-Avoid-Collision-Obstacle-while-navigating-using-rtabmap-ros-and-navigation-stack-tp6309.html
Hello, I am trying to perform autonomous navigation by using move_base node of navigation stack.
here is what I did,
After mapping the environment using rtabmap_ros package, I stop the mapping session.
start the rtabmap node again in localization mode and move the robot around.
I have two problems,
The map is automatically loaded as soon as I start the rtabmap node in localization mode, even before localization of the robot. ideally, map should load when robot localizes itself.
When I send the goal command using RVIZ "2D Nav Goal", It calculates the global trajectory correctly avoiding the obstacles. However, when the robot moves it collides with obstacle. and once it collides with the obstacle, it remains stuck there and does not get out of the situation.
Please guide what is that I am missing here,
here is my rtabmap launch file ,
https://gofile.io/?c=SoKwnxhere is my world file,
https://gofile.io/?c=dsE9TwI spawn my husky robot into this world using a launch file here is the link to those launch files,
https://gofile.io/?c=CVNYK9https://gofile.io/?c=MWeZWNhere is my robot description file
https://gofile.io/?c=Tmim8uPlease also note that I can locate my move_base package but there is no move_base node inside. There is only cmake and packagle.xml files inside these folders.
thanks in advance