RIT VEXU Core API
Loading...
Searching...
No Matches
PurePursuit::Path Class Reference

Wrapper for a vector of points, checking if any of the points are too close for pure pursuit. More...

#include <pure_pursuit.h>

Public Member Functions

 Path (std::vector< Translation2d > points, double radius)
const std::vector< Translation2d > get_points ()
 Get the points associated with this Path.
double get_radius ()
 Get the radius associated with this Path.
bool is_valid ()
 Get whether this path will behave as expected.

Detailed Description

Wrapper for a vector of points, checking if any of the points are too close for pure pursuit.

Constructor & Destructor Documentation

◆ Path()

PurePursuit::Path::Path ( std::vector< Translation2d > points,
double radius )

Create a Path

Parameters
pointsthe points that make up the path
radiusthe lookahead radius for pure pursuit

The documentation for this class was generated from the following files: