-
Notifications
You must be signed in to change notification settings - Fork 198
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
How do you get the correct TF? #15
Comments
Good morning :) I do not perform point cloud registration in the lidar frame. This is equivalent to perform the ICP registration on the sensor frame while providing an initial alignment / guess: This way ICP will only correct small errors of the odometry that occur since the last lidar scan that was processed, allowing it to converge much faster. After having the
I usually provide the robot pose in the base_link or base_footprint frame: In drl, the main steps that involve transforming the sensor data are:
Have a nice day :) |
Whenvever you find the TF from the lidar frame using the ICP:
icp.getFinalTransformation()
, getting the matrix and converting to ROS TF, how do you then proceed on publishing the Map to Odom TF? Is it like this?final_transformation_as_tf = final_transformation_as_tf (the one you got from the matrix) * map_to_base_tf2 (from listening the TF);
relative_tf2 = sensor_to_base_TF.inverseTimes(odom_to_base_TF)
final_transformation_as_tf = final_transformation_as_tf * relative_tf2;
Is that correct?
The text was updated successfully, but these errors were encountered: