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

#include <pure_pursuit.h>

Public Member Functions

 Path (std::vector< point_t > points, double radius)
 
std::vector< point_tget_points ()
 
double get_radius ()
 
bool is_valid ()
 

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< point_t > points,
double radius )

Create a Path

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

Member Function Documentation

◆ get_points()

std::vector< point_t > PurePursuit::Path::get_points ( )

Get the points associated with this Path

◆ get_radius()

double PurePursuit::Path::get_radius ( )

Get the radius associated with this Path

◆ is_valid()

bool PurePursuit::Path::is_valid ( )

Get whether this path will behave as expected


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