A local, non-linear, smooth road coordinate system generated from a sequence of borders. More...
#include <baseline.h>
Public Types | |
using | function_type_xyz = adore::mad::function_type_xyz |
using | function_type2d = adore::mad::function_type2d |
using | function_type_scalar = adore::mad::function_type_scalar |
Public Member Functions | |
Baseline () | |
void | resize () |
void | setSmoothness (double value) |
bool | isValid () const |
double | getLookAhead () const |
double | getLookBehind () const |
void | setLookAhead (double value) |
void | setLookBehind (double value) |
int | getNSamplePoints () const |
int | getNFitPoints () const |
void | update (BorderSequence &borderSequence, double soffset) |
compute fit for borderSequence More... | |
bool | computeDerivatives () |
int | defineOffset (BorderSequence &borderSequence, function_type_scalar *offset, double maximum_offset=10.0) |
define a function, which represents the offset from baseline to the neighboring function More... | |
Public Attributes | |
csaps::DoubleArray | breaks_s_ |
csaps::DoubleArray | breaks_x_ |
csaps::DoubleArray | breaks_y_ |
csaps::DoubleArray | breaks_z_ |
csaps::DoubleArray | samples_s_ |
csaps::DoubleArray | samples_x_ |
csaps::DoubleArray | samples_dx_ |
csaps::DoubleArray | samples_ddx_ |
csaps::DoubleArray | samples_dddx_ |
csaps::DoubleArray | samples_y_ |
csaps::DoubleArray | samples_dy_ |
csaps::DoubleArray | samples_ddy_ |
csaps::DoubleArray | samples_dddy_ |
csaps::DoubleArray | samples_z_ |
csaps::DoubleArray | samples_dz_ |
csaps::DoubleArray | samples_ddz_ |
csaps::DoubleArray | samples_dddz_ |
csaps::DoubleArray | base_L_ |
csaps::DoubleArray | base_nx_ |
csaps::DoubleArray | base_ny_ |
csaps::DoubleArray | base_kappa_ |
csaps::DoubleArray | base_dkappa_ |
function_type_xyz | position_fct_ |
function_type2d | normal_fct_ |
function_type_scalar | curvature_fct_ |
function_type_scalar | curvatureDerivative_fct_ |
Private Attributes | |
int | nFitPoints_ |
int | nSamplesPoints_ |
double | fit_smoothness_ |
double | lookbehind_ |
double | lookahead_ |
double | min_length_ |
bool | valid_ |
A local, non-linear, smooth road coordinate system generated from a sequence of borders.
|
inline |
|
inline |
|
inline |
define a function, which represents the offset from baseline to the neighboring function
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
compute fit for borderSequence
borderSequence | the positions to fit against |
soffset | the length offset from the borderSequence start used for margin computations |
csaps::DoubleArray adore::env::BorderBased::Baseline::base_dkappa_ |
curvature change over true length
csaps::DoubleArray adore::env::BorderBased::Baseline::base_kappa_ |
curvature of xy-curve
csaps::DoubleArray adore::env::BorderBased::Baseline::base_L_ |
recomputed true length values (path integral along (xy)-poly-curve)
csaps::DoubleArray adore::env::BorderBased::Baseline::base_nx_ |
normal vector of curve (x component)
csaps::DoubleArray adore::env::BorderBased::Baseline::base_ny_ |
normal vector of curve (y component)
csaps::DoubleArray adore::env::BorderBased::Baseline::breaks_s_ |
poly breaks in poly domain
csaps::DoubleArray adore::env::BorderBased::Baseline::breaks_x_ |
poly fit points in x
csaps::DoubleArray adore::env::BorderBased::Baseline::breaks_y_ |
poly fit points in y
csaps::DoubleArray adore::env::BorderBased::Baseline::breaks_z_ |
poly fit points in z
function_type_scalar adore::env::BorderBased::Baseline::curvature_fct_ |
function_type_scalar adore::env::BorderBased::Baseline::curvatureDerivative_fct_ |
|
private |
smoothness parameter passed to poly regression
|
private |
|
private |
|
private |
|
private |
how many breaks the poly regression of the baseline has
function_type2d adore::env::BorderBased::Baseline::normal_fct_ |
|
private |
at how many points the baseline poly is sampled for linearization
function_type_xyz adore::env::BorderBased::Baseline::position_fct_ |
function: s-coordinate -> euclidian coordinates for smoothed centerline
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dddx_ |
poly dddx/dsss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dddy_ |
poly dddy/dss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dddz_ |
poly dddz/dss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_ddx_ |
poly ddx/dss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_ddy_ |
poly ddy/dss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_ddz_ |
poly ddz/dss values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dx_ |
poly dx/ds values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dy_ |
poly dy/ds values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_dz_ |
poly dz/ds values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_s_ |
poly samples in poly domain
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_x_ |
poly x values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_y_ |
poly y values at sampling points
csaps::DoubleArray adore::env::BorderBased::Baseline::samples_z_ |
poly z values at sampling points
|
private |