Apollo 10.0
自动驾驶开放平台
points_downsampler.h 文件参考
#include <cmath>
#include <vector>
#include "cyber/common/log.h"
#include "modules/common/math/vec2d.h"
points_downsampler.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo::common::util
 apollo::common::util
 
namespace  apollo
 class register implement
 
namespace  apollo::common
 apollo::common
 

函数

template<typename Points >
double apollo::common::util::GetPathAngle (const Points &points, const size_t start, const size_t end)
 Calculate the angle between the directions of two points on the path.
 
template<typename Points >
std::vector< size_t > apollo::common::util::DownsampleByAngle (const Points &points, const double angle_threshold)
 Downsample the points on the path according to the angle.
 
template<typename Points >
std::vector< size_t > apollo::common::util::DownsampleByDistance (const Points &points, int downsampleDistance, int steepTurnDownsampleDistance)
 Downsample the points on the path based on distance.