Skip to content

Lidar odometry step 1 points decimation #596

Closed

Description

@mwlasiuk

Points are copied from original buffer to new destination (second half) :

std::vector<Point3Di> points_global_new;

Then original buffer is overwritten by the newly created upper half of points :

points_global = std::move(points_global_new);

After that decimation is applied but decimate functions outputs decimated points via return which is discarded :

decimate(points_global, params.decimation, params.decimation, params.decimation);

std::vector<Point3Di> decimate(const std::vector<Point3Di>& points, double bucket_x, double bucket_y, double bucket_z)

Is this intended behavior?

Activity

  1. mwlasiuk commented on Oct 30, 2026

    @mwlasiuk
    CollaboratorAuthor

    If this is intended then only thing missing is decimation handling : #597

    But first part (rewriting buffer with its second part) looks weird...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions