Skip to content

Documentation: Stanley controller algorithm for trajectory following #66

@mohitk3000

Description

@mohitk3000

Summary

Implement a Stanley Controller for trajectory following to improve lateral control performance in path tracking scenarios.

Background

The Stanley controller is a well-established lateral control algorithm, originally developed for the DARPA Grand Challenge by Stanford Racing Team. It computes steering commands based on:

  • heading error between the robot and path
  • lateral error between the robot and the nearest point on the trajectory

The original algorithm was proposed in this paper: https://ai.stanford.edu/~gabeh/papers/hoffmann_stanley_control07.pdf

I will be implementing a improved version of this(takes yaw stability also in account) which has been proposed in this paper:
https://www.mdpi.com/2076-0825/11/1/22

Image

Proposed Tasks:

  • Add a new sample program under src/simulations/control/ demonstrating Stanley-based trajectory following.

  • Document the algorithm conceptually explaining heading_error, cross_track_error, gains, and how the control law combines them:

Labels

enhancement control trajectory-following proposal

Pls review this and suggest the improvements.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions