Added motion compensation feature to rslidar_pointcloud #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have added motion compensation to the
rslidar_pointcloud
node. What it does is that it compensates for potential motion of the sensor between arrival of a scan package and publication of the point cloud.This is achieved by querying the TF tree for motion of the rslidar frame relative to a given fixed frame.
We have experimentally tested that this works using a BPearl on our legged robot.
The following screenshot is taken from RViz, while our robot was walking up a single step onto a flat podium. The sensor is mounted in the front of the robot, scanning the ground.
This clearly shows that, without motion compensation, there is a serious "cut" in the point cloud, while the ground is flat with motion compensation.
This introduces a new dependency on
eigen_conversions
, which is installed with ROS per default.