1 #ifndef HRICS_CF_BODIESDISTANCE_H
2 #define HRICS_CF_BODIESDISTANCE_H
4 #include "HRICS_CF_VirtualCostFunction.h"
5 #include "API/planningAPI.hpp"
13 using VirtualCostFunction::getCost;
18 static std::string getName(){
return "BodiesDistance";}
24 std::pair<double,double> getCost(
Robot *r1,
unsigned int o1,
Robot *r2,
unsigned int o2);
26 bool useBoundingBoxes()
const;
27 void setUseBoundingBoxes(
bool useBoundingBoxes);
30 bool _useBoundingBoxes;
37 #endif // HRICS_CF_BODIESDISTANCE_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
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
Definition: HRICS_BodiesDistance.h:10
Definition: HRICS_CF_VirtualCostFunction.h:13