Warning: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty

Author: ChengTszYinCreated Jan 27, 2025Updated Jan 27, 2025

Hello all. I am new to cartographer and I am geting problem which no tf data are published from /map to /odom. Not sure how to solve this problem.

Image

The .launch and .lua file are as follow:

Image

Image

I ran cartographer with 'roslaunch cartographer_ros my_robot_map.launch' and the error code is

[ WARN] [1737993809.051359467]: W0128 00:03:29.000000 36671 tf_bridge.cc:52] Invalid argument passed to lookupTransform argument source_frame in tf2 frame_ids cannot be empty Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame base_link (parent odom) at time 1737993809.033244 according to authority unknown_publisher at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.7/src/buffer_core.cpp Warning: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty at line 126 in /tmp/binarydeb/ros-noetic-tf2-0.7.7/src/buffer_core.cpp Warning: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty at line 126 in /tmp/binarydeb/ros-noetic-tf2-0.7.7/src/buffer_core.cpp Warning: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty at line 126 in /tmp/binarydeb/ros-noetic-tf2-0.7.7/src/buffer_core.cpp Warning: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty at line 126 in /tmp/binarydeb/ros-noetic-tf2-0.7.7/src/buffer_core.cpp

Thank you for your help

Source: cartographer-project/cartographer