Navigation, AMCL, amcl_pose
Hello,
I'm debugging the navigation stack set up on my robot. My question is about amcl_pose
. This topic is published by amcl
(or fake_localization
), and in my robot amcl_pose
is being published to by the localization module too, but no topic is subscribed to amcl_pose
.
As I understand, local planner should use amcl_pose
and I'm using DWAPlannerROS in the navigation stack, and DWAPlannerROS
is only subscribed to odom
.
So, the question is which component is using the result of the localization module.
UPDATE 1: Another suspicious thing with amcl
(or fake_localization
) is, although it is publishing to /particlecloud
, but I can not visualize the particles in Rviz
using /particlecloud
topic. Nothing appears in Rviz
.
Thanks
Regarding the /particlecloud visualization in Rviz: I vaguely recall having trouble seeing this topic and I think it was because I had the wrong FixedFrame selected in Rviz. You can see the /particlecloud topic in Rviz if you have the right settings.
My FixedFrame is map. and everything works and looks fine in rviz, except particlecloud
Please forgive if this is a dumb question, but have you given the robot an
initialpose
? Another: does your particlecloud topic show up in the 'By Topic ' tab of the Add dialog in Rviz?