Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #482

Open
120ccz opened this issue Mar 22, 2024 · 3 comments

Comments

@120ccz
Copy link

120ccz commented Mar 22, 2024

我在运行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
Copy link
Author

120ccz commented Mar 22, 2024

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]

@mbed92
Copy link

mbed92 commented May 7, 2024

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

@yanjingang
Copy link

@120ccz 请问这个问题解决了吗?我也遇到了相同的问题,多谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants