#include <Eigen/Core>
#include <boost/utility.hpp>
#include <boost/type_traits.hpp>
Go to the source code of this file.
Namespaces | |
namespace | teb_local_planner |
Defines | |
#define | SMALL_NUM 0.00000001 |
Functions | |
double | teb_local_planner::average_angles (const std::vector< double > &angles) |
Return the average angle of an arbitrary number of given angles [rad]. | |
template<typename V1 , typename V2 > | |
double | teb_local_planner::cross2d (const V1 &v1, const V2 &v2) |
Calculate the 2d cross product (returns length of the resulting vector along the z-axis in 3d) | |
template<typename P1 , typename P2 > | |
double | teb_local_planner::distance_points2d (const P1 &point1, const P2 &point2) |
Calculate Euclidean distance between two 2D point datatypes. | |
double | teb_local_planner::fast_sigmoid (double x) |
Calculate a fast approximation of a sigmoid function. | |
template<typename T > | |
const T & | teb_local_planner::get_const_reference (const T *ptr) |
Helper function that returns the const reference to a value defined by either its raw pointer type or const reference. | |
template<typename T > | |
const T & | teb_local_planner::get_const_reference (const T &val, typename boost::disable_if< boost::is_pointer< T > >::type *dummy=0) |
Helper function that returns the const reference to a value defined by either its raw pointer type or const reference. | |
bool | teb_local_planner::is_close (double a, double b, double epsilon=1e-4) |
Check whether two variables (double) are close to each other. | |
bool | teb_local_planner::smaller_than_abs (double i, double j) |
Small helper function: check if |a|<|b|. |