Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | List of all members
apollo::planning::CurveMath Class Reference

#include <curve_math.h>

Collaboration diagram for apollo::planning::CurveMath:
Collaboration graph

Public Member Functions

 CurveMath ()=delete
 

Static Public Member Functions

static double ComputeCurvature (const double dx, const double d2x, const double dy, const double d2y)
 Compute the curvature (kappa) given curve X = (x(t), y(t)) which t is an arbitrary parameter. More...
 
static double ComputeCurvatureDerivative (const double dx, const double d2x, const double d3x, const double dy, const double d2y, const double d3y)
 Compute the curvature change rate w.r.t. curve length (dkappa) given curve X = (x(t), y(t)) which t is an arbitrary parameter. More...
 

Constructor & Destructor Documentation

◆ CurveMath()

apollo::planning::CurveMath::CurveMath ( )
delete

Member Function Documentation

◆ ComputeCurvature()

static double apollo::planning::CurveMath::ComputeCurvature ( const double  dx,
const double  d2x,
const double  dy,
const double  d2y 
)
static

Compute the curvature (kappa) given curve X = (x(t), y(t)) which t is an arbitrary parameter.

Parameters
dxdx / dt
d2xd(dx) / dt
dydy / dt
d2yd(dy) / dt
Returns
the curvature

◆ ComputeCurvatureDerivative()

static double apollo::planning::CurveMath::ComputeCurvatureDerivative ( const double  dx,
const double  d2x,
const double  d3x,
const double  dy,
const double  d2y,
const double  d3y 
)
static

Compute the curvature change rate w.r.t. curve length (dkappa) given curve X = (x(t), y(t)) which t is an arbitrary parameter.

Parameters
dxdx / dt
d2xd(dx) / dt
dydy / dt
d2yd(dy) / dt
d3xd(d2x) / dt
d3yd(d2y) / dt
Returns
the curvature change rate

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