LIO-SAM icon indicating copy to clipboard operation
LIO-SAM copied to clipboard

Could not find a connection between 'lidar_link' and 'base_link' because they are not part of the same tree.Tf has two or more unconnected trees.

Open 120ccz opened this issue 2 years ago • 5 comments

我在运行lio-sam时的tf tree如下图所示: 微信图片_20240322011058

报错内容为: [lio_sam_imuPreintegration-3] [ERROR] [1711012939.600528833] [lio_sam_imuPreintegration]: Could not find a connection between 'lidar_link' and 'base_link' because they are not part of the same tree.Tf has two or more unconnected trees. [lio_sam_imuPreintegration-3] [ERROR] [1711012939.662496183] [lio_sam_imuPreintegration]: Lookup would require extrapolation at time 1711012939.249872, but only time 1711012939.600189 is in the buffer, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.723478771] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.249872 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.785574438] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.846604469] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.910756994] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012940.033550766] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012940.033828606] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link]

120ccz avatar Mar 22 '24 01:03 120ccz

My tf tree while running lio-sam is shown in the following figure: Uploading 微信图片_20240322011058.jpg…

The error message is: [lio_sam_imuPreintegration-3] [ERROR] [1711012939.600528833] [lio_sam_imuPreintegration]: Could not find a connection between 'lidar_link' and 'base_link' because they are not part of the same tree.Tf has two or more unconnected trees. [lio_sam_imuPreintegration-3] [ERROR] [1711012939.662496183] [lio_sam_imuPreintegration]: Lookup would require extrapolation at time 1711012939.249872, but only time 1711012939.600189 is in the buffer, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.723478771] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.249872 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.785574438] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.846604469] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012939.910756994] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012940.033550766] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link] [lio_sam_imuPreintegration-3] [ERROR] [1711012940.033828606] [lio_sam_imuPreintegration]: Lookup would require extrapolation into the past. Requested time 1711012939.552636 but the earliest data is at time 1711012939.600189, when looking up transform from frame [base_link] to frame [lidar_link]

120ccz avatar Mar 22 '24 01:03 120ccz

Exactly the same issue here. LIO-SAM (ros2 branch) constantly tries to output TF between odom and base_link, no matter what.

mbed92 avatar May 07 '24 10:05 mbed92