1 #ifndef HRICS_DISTANCE2D_H
2 #define HRICS_DISTANCE2D_H
4 #include "API/planningAPI.hpp"
6 #include "HRICS_CF_VirtualCostFunction.h"
15 using VirtualCostFunction::getCost;
20 static std::string getName(){
return "Distance2D";}
23 double getCost(
double d);
31 double getMaxToMeanRatio(){
return _maxToMeanRatio;}
33 void setMaxCost(
double max){_maxCost = max;}
34 void setMinCost(
double min){_minCost = min;}
35 double getMaxCost(){
return _maxCost;}
36 double getMinCost(){
return _minCost;}
40 double _ignore_threshold;
43 double _maxToMeanRatio;
50 #endif // HRICS_DISTANCE2D_H
Definition: HRICS_costfunction.h:15
double maxToMeanRatio() const
when the cost is a compostion of several elements (e.g.
Definition: HRICS_CF_VirtualCostFunction.cpp:145
Definition: HRICS_distance2d.h:11
This file implements macros to help with the logging, in a way similar to ROS, using log4cxx...
Definition: HRICS_CF_VirtualCostFunction.h:13
void setMaxToMeanRatio(double a)
setMaxToMeanRatio
Definition: HRICS_distance2d.cpp:67