SteveMacenski / slam_toolbox

Slam Toolbox for lifelong mapping and localization in potentially massive maps with ROS
GNU Lesser General Public License v2.1
1.63k stars 516 forks source link

Map topic is quiet #242

Closed Jbwasse2 closed 4 years ago

Jbwasse2 commented 4 years ago

Required Info:

Expected behavior

/map, /scan, /tf, /tf_static echo data when performing "rostopic echo". A map is created in rviz

Actual behavior

/tf and /scan echo without issue /tf_static echos data if I follow step (3) /map never echos data rviz does not create a visualization of the map (I am assuming this is because /map never echos data)

I get a lot of debug messages such as below: debug

Additional information

I am using default configs. I have verified the topics exist, and that nodes are subscribing/publishing to the topic. Should the slam_toolbox both subscribe and publish to /map?

SteveMacenski commented 4 years ago

Show a picture of your complete TF tree.

Given you're hacking this dataset, I'm inclined to think its your use of this that's a problem not the package itself. I run my systems on the melodic branch here and I have seen no problems recently. The fact your adding and immediately removing from the message filter means it couldn't properly transform. You can trivially verify by adding a breakpoint or print statement in the callback function for sensor inputs and see if they ever print. If not, then your TF is definitely wrong and the message filter is buffering out invalid scans.

SteveMacenski commented 4 years ago

Closing from inactivity & doesn't represent a bug / feature request but configuration assistance.