Skip to content

A Rust implementation of Reeds-Shepp curves for calculating the shortest paths for non-holonomic vehicles. Features forward and backward movement with a fixed turning radius.

Notifications You must be signed in to change notification settings

LinusWeigand/reeds-shepp-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Reeds-Shepp Path Planning

Crates.io Docs.rs License: MIT Rust

A Rust crate for calculating optimal (shortest) paths for car-like vehicles using Reeds-Shepp curves. This implementation allows for both forward and backward motion and assumes a fixed turning radius (normalized to 1).

The paths are generated by exploring a set of 12 fundamental path families and their variations through time-flipping (reversing gear) and reflection (reversing steering).

Features

  • Calculates shortest paths between two poses (x, y, orientation).
  • Supports forward and backward motion (Gear::Forward, Gear::Backwards).
  • Defines discrete steering states (Steering::Left, Steering::Right, Steering::Straight).
  • Provides a clear path representation as a sequence of PathElements.
  • Includes utility functions for pose manipulation, angle normalization, and coordinate conversions.
  • Based on the principles described by Reeds & Shepp for path generation.

Installation

Add this to your Cargo.toml:

[dependencies]
reeds_shepp = "0.1.1"

About

A Rust implementation of Reeds-Shepp curves for calculating the shortest paths for non-holonomic vehicles. Features forward and backward movement with a fixed turning radius.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages