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

seems a very tiny bug??

Open Rick0514 opened this issue 2 years ago • 1 comments

imuPreintergration.cpp:48~52

  try
  {
      tfListener.waitForTransform(lidarFrame, baselinkFrame, ros::Time(0), ros::Duration(3.0));
      tfListener.lookupTransform(lidarFrame, baselinkFrame, ros::Time(0), lidar2Baselink);
  }

It looks like to obtain lidar to baselink static transform. However, I googled what lookupTransform returns and it seems to the reverse case(which means baselink to lidar)??

Though it is trivial, it is not correct from what I searched and tested.

change to follow ??

      tfListener.lookupTransform(baselinkFrame, lidarFrame, ros::Time(0), lidar2Baselink);

Rick0514 avatar May 30 '22 12:05 Rick0514

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 02 '22 04:11 stale[bot]