ugv_nav4d
Public Member Functions | Static Public Member Functions | List of all members
ugv_nav4d::PreComputedMotions Class Reference

#include <PreComputedMotions.hpp>

Collaboration diagram for ugv_nav4d::PreComputedMotions:
Collaboration graph

Public Member Functions

 PreComputedMotions (const sbpl_spline_primitives::SplinePrimitivesConfig &primitiveConfig, const Mobility &mobilityConfig)
 
void readMotionPrimitives (const sbpl_spline_primitives::SbplSplineMotionPrimitives &primGen, const Mobility &mobilityConfig, double obstGridResolution, double travGridResolution)
 
void computeMotions (double obstGridResolution, double travGridResolution)
 
void setMotionForTheta (const Motion &motion, const DiscreteTheta &theta)
 
void preComputeCost (Motion &motion)
 
const std::vector< Motion > & getMotionForStartTheta (const DiscreteTheta &theta) const
 
const MotiongetMotion (std::size_t id) const
 
const sbpl_spline_primitives::SbplSplineMotionPrimitives & getPrimitives () const
 

Static Public Member Functions

static double calculateCurvatureFromRadius (const double r)
 

Constructor & Destructor Documentation

◆ PreComputedMotions()

ugv_nav4d::PreComputedMotions::PreComputedMotions ( const sbpl_spline_primitives::SplinePrimitivesConfig &  primitiveConfig,
const Mobility mobilityConfig 
)

Initialize using spline based primitives.

Parameters
mobilityConfigWill be used to configure and filter the splines. mobilityConfig.mMinTurningRadius will be used to filter the splines and remove all splines with a smaller turning radius.

Member Function Documentation

◆ calculateCurvatureFromRadius()

double ugv_nav4d::PreComputedMotions::calculateCurvatureFromRadius ( const double  r)
static

Calculate the curvature of a circle based on the radius of the circle

Here is the caller graph for this function:

◆ computeMotions()

void ugv_nav4d::PreComputedMotions::computeMotions ( double  obstGridResolution,
double  travGridResolution 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMotion()

const Motion & ugv_nav4d::PreComputedMotions::getMotion ( std::size_t  id) const
Here is the caller graph for this function:

◆ getMotionForStartTheta()

const std::vector< Motion > & ugv_nav4d::PreComputedMotions::getMotionForStartTheta ( const DiscreteTheta theta) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPrimitives()

const SbplSplineMotionPrimitives & ugv_nav4d::PreComputedMotions::getPrimitives ( ) const

◆ preComputeCost()

void ugv_nav4d::PreComputedMotions::preComputeCost ( Motion motion)

◆ readMotionPrimitives()

void ugv_nav4d::PreComputedMotions::readMotionPrimitives ( const sbpl_spline_primitives::SbplSplineMotionPrimitives &  primGen,
const Mobility mobilityConfig,
double  obstGridResolution,
double  travGridResolution 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMotionForTheta()

void ugv_nav4d::PreComputedMotions::setMotionForTheta ( const Motion motion,
const DiscreteTheta theta 
)
Here is the call graph for this function:
Here is the caller graph for this function:

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