Skip to content

Laser scan points with max_range will be discarded #60

@Solitry

Description

@Solitry

Hi,

When I use function projectLaser and given the range_cutoff as default value -1, the range_cutoff will be set to scan_in.range_max, and it will let the points with the max_range be discarded.

However, in the doc of sensor_msgs/LaserScan, it says:


float32[] ranges  # range data [m] (Note: values < range_min or > range_max should be discarded)

I think the point that the range equals to max_range exactly should not be discarded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions