Apollo 10.0
自动驾驶开放平台
linear_interpolation.h 文件参考

Linear interpolation functions. 更多...

#include <cmath>
#include "cyber/common/log.h"
#include "modules/common_msgs/basic_msgs/pnc_point.pb.h"
linear_interpolation.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo::common::math
 apollo::common::math
 
namespace  apollo
 class register implement
 
namespace  apollo::common
 apollo::common
 

函数

template<typename 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 中定义.