Gravity Aligned Map + ROS REP 105 changes - #77
Conversation
…nstead of odom_from_lidar_link A bit crude, but does the job ;)
|
Also, FYSA: I am just realizing that these changes may overlap a bit with #74 and #71 .
|
|
Update: Made the local frame (typically odom) and robot body frame (typically |
…me, rather than the lidar frame. If you don't have extrinsics between your robot's body frame the lidar frame, you can just specify the lidar frame id as the body frame.
|
Okay, I made one last change: Instead of publishing So, in the default case where And, if you don't have extrinsics between your robot's body frame the lidar frame, you can just specify the lidar frame id as the body frame. The motivation for adding this was ease of integration. Ideally, whatever downstream node (like a local planner or trajectory tracking controller) is consuming the |
Hi there,
I added some changes to make FAST-LIO2 a bit more plug-and-play for ROS2 systems that conform to ROS REP 105. Namely:
odom_from_**base_link**" transform, instead ofodom_from_lidar_link-- which is necessary for FAST-LIO to serve as a ROS REP 105 compliant local estimator. Without this, your lidar's link will end up having two parents:base_linkandodom` (assuming you have your URDF set up according to REP 105 and REP 103). Some helpful context for why this is important can be found in these instructions from Nav2.I recognize that none of these changes are strictly relevant to FAST-LIO as an odometry system. However, I would argue that these changes are important/useful for this module to fit into / be usable in ROS projects / projects that follow some of these conventions.
I tested these changes on a personal dataset of mine, but may be able to provide further validation if desired.