Error in move_base while simulating navigation stack

asked 2016-02-10 13:57:12 -0500

Kishore Kumar gravatar image

updated 2016-02-24 12:27:56 -0500

When i launch the navigation launch file the robot fails to keep the plan and mess up in the middle, It throws the below warning and an error in Rviz (Ref image)

[ WARN] [1455133160.311617027, 27.096000000]: MessageFilter [target=map ]: Discarding message from [/move_base] due to empty frame_id. This message will only print once.

[ WARN] [1455133160.311926656, 27.096000000]: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty

[ WARN] [1455133160.710917579, 27.118000000]: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty

image description

image description

Edit 1:

I am using AMCL localization and dwa planner, even base_planner resulted in same error.

rqt_graph result

image description

edit retag flag offensive close merge delete

Comments

more information: which planners, which config, which localization, ... Best provide a link to GitHub...

What you see in rviz seems like a call to global_localization in amcl.

But without more information, we cannot help you...

mgruhler gravatar image mgruhler  ( 2016-02-12 01:34:53 -0500 )edit

Thank you, I have added the link and details in my new edit above.

Kishore Kumar gravatar image Kishore Kumar  ( 2016-02-13 03:52:30 -0500 )edit

There is something seriously wrong with (at least) your localization. Spreading the particles out like this definitely not right. Recheck your odometry (does it make sense? To me, it seems the robot is rotating the other direction in rviz then in gazebo, but it is hard to see), laser scans, ...

mgruhler gravatar image mgruhler  ( 2016-02-15 01:53:13 -0500 )edit

My laser scan and odometry are perfect. I have executed the test procedure over here and its successful.

Kishore Kumar gravatar image Kishore Kumar  ( 2016-02-15 08:03:41 -0500 )edit

I have played with robot in navigation environment, when i move forward or backward the particles are spread out but when i stop and rotate in a place the robot is localized perfectly in a couple of revolutions. also robot turns in same direction in rviz and gazebo.

Kishore Kumar gravatar image Kishore Kumar  ( 2016-02-15 08:07:06 -0500 )edit

Have you solved the first warning (and remember it by any chance) ?

Delb gravatar image Delb  ( 2018-05-15 04:06:50 -0500 )edit