Skip to content

There might be a little mistake in CICP::ICP_Method_LM #1264

Description

@ysklab

In function "CICP::ICP_Method_LM", branch "develop", line 597:

matchParams.angularDistPivotPoint =
		TPoint3D(q.x(), q.y(), 0);	// Pivot point for angular measurements

The value "q" is not initialized (so it's zero?). I guess the "angularDistPivotPoint" should be the scan center's position in map, which should not be zero.

Compared with "CICP::ICP_Method_Classic", the "angularDistPivotPoint" is set to

matchParams.angularDistPivotPoint = TPoint3D(
				gaussPdf->mean.x(), gaussPdf->mean.y(),
				0);	 // Pivot point for angular measurements

and the "guessPdf" is the initial pose given.

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