Hi,
I'm trying to run the navigation stack on a Turtlebot 2. I started the robot with ```roslaunch turtlebot_bringup minimal.launch``` and then started the navigation with ```roslaunch turtlebot_navigation amcl_demo.launch map_file:=/path/to/my/map.yaml```. I have not edited the configuration files so everything (except my map) should be default. The Turtlebot is running Hydro.
The behavior I see is that when I give a goal, the robot begins moving in that direction, but then passes the goal and continues to move in the same direction until I stop the navigation.
The problem seems to be with the topic ```/move_base/feedback```. It is always incorrect. The poses published on ```/amcl_pose``` are correct, and the odometry values seem to be correct. Both the global path and the first local path look good. The problem is that the local path is updated with a new starting state based on ```/move_base/feedback```, and those values are always near ```(0,0,0)```, basically saying that the robot has not moved much even if the robot has moved several meters from the initial location. So the local path always begins near the initial location, causing the robot to pass the goal and keep driving until I manually kill the nodes.
The transforms all look fine in Rviz. The msgs published on ```/move_base/feedback``` all say that the frame_id is ```/map``` (which is the fixed frame). The msgs published on ```/amcl_pose``` all say that they are relative to ```/map``` too, but they are correct whereas the msgs being published on ```move_base/feedback``` are not. The wiki for ```move_base``` describes the msgs on ```/move_base/feedback``` as "Feedback contains the current position of the base in the world" so I would expect them to be equal to the poses on ```/amcl_pose```.
I have looked around the config files in ```turtlebot_navigation``` and cannot find anything that seems relevant to ```move_base/feedback```. However, this is my first time using the navigation stack so I may be overlooking something. Does anyone know what I can look/check for and/or what might be causing this issue? Any help is appreciated.
↧