add publishing of laser beam visualization markers #509
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.
It is useful to be able to see the lidar beams in RViz. This PR adds publishing of RViz markers for all lidar beams according to the lidar's calibration parameters and range. We have used this functionality to validate dual lidar design on University of Waterloo's UW Moose with VLS-128 on top and VLP32-C on 10-degree angle:
Details:
/..._nodelet_manager/lidar_beams
topic in the frame given byframe_id
passed via thetarget_frame
parameter (that makes sense becausetarget_frame
is set to the frame of the incoming packets, which isframe_id
from the driver). This allows for having multiple lidars of the same model in different frames.VLS128/12
max_range
. We ignore therot_correction
and only use thevert_correction
so that all beams are on the same surfaceThe example images were produced using the following commands