Namespaces | Macros | Enumerations | Functions
misc.h File Reference
#include <Eigen/Core>
#include <boost/utility.hpp>
#include <boost/type_traits.hpp>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 teb_local_planner
 

Macros

#define SMALL_NUM   0.00000001
 

Enumerations

enum  teb_local_planner::RotType { teb_local_planner::RotType::left, teb_local_planner::RotType::none, teb_local_planner::RotType::right }
 Symbols for left/none/right rotations. More...
 

Functions

double teb_local_planner::average_angles (const std::vector< double > &angles)
 Return the average angle of an arbitrary number of given angles [rad]. More...
 
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) More...
 
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. More...
 
double teb_local_planner::fast_sigmoid (double x)
 Calculate a fast approximation of a sigmoid function. More...
 
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. More...
 
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. More...
 
bool teb_local_planner::is_close (double a, double b, double epsilon=1e-4)
 Check whether two variables (double) are close to each other. More...
 
bool teb_local_planner::smaller_than_abs (double i, double j)
 Small helper function: check if |a|<|b|. More...
 

Macro Definition Documentation

#define SMALL_NUM   0.00000001

Definition at line 50 of file misc.h.



teb_local_planner
Author(s): Christoph Rösmann
autogenerated on Wed Jun 5 2019 19:25:10