Apollo 10.0
自动驾驶开放平台
|
Linear interpolation functions. 更多...
#include <cmath>
#include "cyber/common/log.h"
#include "modules/common_msgs/basic_msgs/pnc_point.pb.h"
命名空间 | |
namespace | apollo::common::math |
apollo::common::math | |
namespace | apollo |
class register implement | |
namespace | apollo::common |
apollo::common | |
函数 | |
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. | |
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. | |
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.
在文件 linear_interpolation.h 中定义.