Apollo
6.0
Open source self driving car software
|
Linear interpolation functions. More...
Go to the source code of this file.
Namespaces | |
apollo::common::math | |
apollo::common::math | |
apollo | |
PlanningContext is the runtime context in planning. It is persistent across multiple frames. | |
apollo::common | |
apollo::common | |
Functions | |
template<typename T > | |
T | apollo::common::math::lerp (const T &x0, const double t0, const T &x1, const double t1, const double t) |
Linear interpolation between two points of type T. More... | |
double | apollo::common::math::slerp (const double a0, const double t0, const double a1, const double t1, const double t) |
Spherical linear interpolation between two angles. The two angles are within range [-M_PI, M_PI). More... | |
SLPoint | apollo::common::math::InterpolateUsingLinearApproximation (const SLPoint &p0, const SLPoint &p1, const double w) |
PathPoint | apollo::common::math::InterpolateUsingLinearApproximation (const PathPoint &p0, const PathPoint &p1, const double s) |
TrajectoryPoint | apollo::common::math::InterpolateUsingLinearApproximation (const TrajectoryPoint &tp0, const TrajectoryPoint &tp1, const double t) |
Linear interpolation functions.