#include <PreComputedMotions.hpp>
◆ PreComputedMotions()
ugv_nav4d::PreComputedMotions::PreComputedMotions |
( |
const sbpl_spline_primitives::SplinePrimitivesConfig & |
primitiveConfig, |
|
|
const Mobility & |
mobilityConfig |
|
) |
| |
Initialize using spline based primitives.
- Parameters
-
mobilityConfig | Will 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. |
◆ calculateCurvatureFromRadius()
double ugv_nav4d::PreComputedMotions::calculateCurvatureFromRadius |
( |
const double |
r | ) |
|
|
static |
Calculate the curvature of a circle based on the radius of the circle
◆ computeMotions()
void ugv_nav4d::PreComputedMotions::computeMotions |
( |
double |
obstGridResolution, |
|
|
double |
travGridResolution |
|
) |
| |
◆ getMotion()
const Motion & ugv_nav4d::PreComputedMotions::getMotion |
( |
std::size_t |
id | ) |
const |
◆ getMotionForStartTheta()
const std::vector< Motion > & ugv_nav4d::PreComputedMotions::getMotionForStartTheta |
( |
const DiscreteTheta & |
theta | ) |
const |
◆ 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 |
|
) |
| |
◆ setMotionForTheta()
void ugv_nav4d::PreComputedMotions::setMotionForTheta |
( |
const Motion & |
motion, |
|
|
const DiscreteTheta & |
theta |
|
) |
| |
The documentation for this class was generated from the following files: