Namespaces | Defines | 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

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 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 Tteb_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 Tteb_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|.

Define Documentation

#define SMALL_NUM   0.00000001

Definition at line 50 of file misc.h.



teb_local_planner
Author(s): Christoph Rösmann
autogenerated on Mon Oct 24 2016 05:31:15