Skip to content

Add curved trajectory support using Adaptive Pure Pursuit #236

@gdoffe

Description

@gdoffe

Context

The current motion control chains (QUADPID, QUADPID_TRACKER) use PoseStraightFilter which enforces straight-line segments between waypoints (rotate → translate → rotate state machine). This makes curved trajectories impossible without stopping and rotating at each waypoint.

Goal

Add an Adaptive Pure Pursuit controller chain that generates continuous steering commands by tracking a lookahead point on the path. This enables smooth curved path following without the rotate-stop-translate pattern.

Key features

  • Adaptive lookahead distance based on current speed
  • Curvature-based speed limiting for safe cornering
  • Forward and backward motion support
  • Initial rotation phase for large heading errors
  • Path interpolation between waypoints

Related

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