SteveMacenski / slam_toolbox

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

map topic is silent #435

Closed aidinism closed 3 years ago

aidinism commented 3 years ago

Required Info:

Steps to reproduce the issue

roscore roslaunch velodyne_pointcloud VLP16_points.launch roslaunch slam_toolbox online_sync.launch rosrun rviz rviz -f velodyne

Expected behavior

overtime rviz should show the generated map

Actual behavior

map topic is died silent, in the map->Status->Message shows "No map received" and no map is visible.

Additional information

LOG:

SUMMARY

PARAMETERS

NODES / slam_toolbox (slam_toolbox/sync_slam_toolbox_node)

ROS_MASTER_URI=http://localhost:11311

process[slam_toolbox-1]: started with pid [20025] [ INFO] [1631146251.385417305]: Node using stack size 40000000 [DEBUG] [1631146251.427927883]: Attempting to create managed instance for class solver_plugins::CeresSolver. [DEBUG] [1631146251.427959295]: Class solver_plugins::CeresSolver maps to library libceres_solver_plugin in classesavailable. [DEBUG] [1631146251.428036453]: Iterating through all possible paths where libceres_solver_plugin could be located... [DEBUG] [1631146251.428051943]: Checking path /home/aidin/ws_slam_vlp16/devel/lib/libceres_solver_plugin.so [DEBUG] [1631146251.428069738]: Library libceres_solver_plugin found at explicit path /home/aidin/ws_slam_vlp16/devel/lib/libceres_solver_plugin.so. [DEBUG] [1631146251.430742760]: solver_plugins::CeresSolver maps to real class type solver_plugins::CeresSolver [ INFO] [1631146251.432755492]: CeresSolver: Using SCHUR_JACOBI preconditioner. [DEBUG] [1631146251.432784729]: boost::shared_ptr to object of real type solver_plugins::CeresSolver created. [ INFO] [1631146251.432794959]: Using plugin solver_plugins::CeresSolver [DEBUG] [1631146251.649618808]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.643, count now 1 [DEBUG] [1631146251.699681030]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.693, count now 2 [DEBUG] [1631146251.749846132]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.744, count now 3 [DEBUG] [1631146251.799658332]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.794, count now 4 [DEBUG] [1631146251.850625797]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.845, count now 5 [DEBUG] [1631146251.900609415]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.643045) [DEBUG] [1631146251.900867818]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.895, count now 5 [DEBUG] [1631146251.951484732]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.693458) [DEBUG] [1631146251.951612234]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.946, count now 5 [DEBUG] [1631146252.001119874]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.743912) [DEBUG] [1631146252.001258508]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146251.996, count now 5 [DEBUG] [1631146252.052355104]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.794319) [DEBUG] [1631146252.052504000]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146252.046, count now 5 [DEBUG] [1631146252.102126880]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.844755) [DEBUG] [1631146252.102267079]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146252.097, count now 5 [DEBUG] [1631146252.153140771]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.895209) [DEBUG] [1631146252.153299207]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146252.147, count now 5 [DEBUG] [1631146252.203473201]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.945554) [DEBUG] [1631146252.203624462]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146252.198, count now 5 [DEBUG] [1631146252.254081012]: MessageFilter [target=odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=velodyne, stamp=1631146251.995988) [DEBUG] [1631146252.254278535]: MessageFilter [target=odom ]: Added message in frame velodyne at time 1631146252.248, count now 5

SteveMacenski commented 3 years ago

It looks like you don't have the TF tree needed to trigger SLAM to actually run if the TF message filter isn't giving messages to the SLAM system to use. See REP 105.

SteveMacenski commented 3 years ago

Any update?

SteveMacenski commented 3 years ago

Closing due to nonresponse and no indication this is an issue with this project.

kokkalisko commented 3 years ago

Facing the exact same issue for Noetic and the classic Turtlebot 3 waffle setup. I attach the TF tree. frames-1

xwavex commented 2 years ago

I have the same issue. Any tips how to solve this?