#dimension #pure #generic #heap #numbers #float #pursuit

nightly pure_pursuit

An implementation of generic Pure Pursuit in no_std Rust

5 releases

0.1.4 Mar 26, 2022
0.1.3 Mar 26, 2022
0.1.2 Mar 24, 2022
0.1.1 Mar 24, 2022
0.1.0 Mar 24, 2022

#2468 in Rust patterns

GPL-3.0-or-later

19KB
283 lines

Rust Pure Pursuit Controller https://crates.io/crates/pure_pursuit

A no_std Pure Pursuit controller intended for Vex robots, but designed to be as versatile as possible.

Features

  • Fast
  • no_std support
  • Can be used with any type that implements the num::Float, num::FromPrimitive, and core::iter::Sum, traits, including custom types
  • While originally designed for 2D, this works in any number of dimensions
  • Does not use the heap, so you don't have to worry about that

lib.rs:

Rust Pure Pursuit Controller https://crates.io/crates/pure_pursuit

Dependencies

~1MB
~17K SLoC