openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
OpenRAVE::planningutils::SimpleDistanceMetric Class Reference

simple distance metric based on joint weights More...

#include <planningutils.h>

Collaboration diagram for OpenRAVE::planningutils::SimpleDistanceMetric:
Collaboration graph
[legend]

Public Member Functions

 SimpleDistanceMetric (RobotBasePtr robot)
 
dReal Eval (const std::vector< dReal > &c0, const std::vector< dReal > &c1)
 

Protected Attributes

RobotBasePtr _robot
 
std::vector< dRealweights2
 

Detailed Description

simple distance metric based on joint weights

Examples:
orplanning_door.cpp.

Definition at line 351 of file planningutils.h.

Constructor & Destructor Documentation

OpenRAVE::planningutils::SimpleDistanceMetric::SimpleDistanceMetric ( RobotBasePtr  robot)

Definition at line 1697 of file planningutils.cpp.

Member Function Documentation

dReal OpenRAVE::planningutils::SimpleDistanceMetric::Eval ( const std::vector< dReal > &  c0,
const std::vector< dReal > &  c1 
)
Examples:
orplanning_door.cpp.

Definition at line 1705 of file planningutils.cpp.

Member Data Documentation

RobotBasePtr OpenRAVE::planningutils::SimpleDistanceMetric::_robot
protected

Definition at line 357 of file planningutils.h.

std::vector<dReal> OpenRAVE::planningutils::SimpleDistanceMetric::weights2
protected

Definition at line 358 of file planningutils.h.


The documentation for this class was generated from the following files: