Skip to main content

register_point_to_line

Function register_point_to_line 

Source
pub fn register_point_to_line(
    source: &[Vector2<f64>],
    target: &[Vector2<f64>],
    target_normals: &[Vector2<f64>],
    seed: Pose2D,
    config: &ScanToMapConfig,
) -> ScanRegistration
Expand description

Registers body-frame source points against target points with normals, starting from seed, by point-to-line Gauss-Newton on (x, y, yaw).

Uses max_iterations, max_correspondence_distance, and huber_delta from config; the acceptance gates are left to the caller.