Public Member Functions | Protected Member Functions | Private Attributes
base_local_planner::TrajectoryCostFunction Class Reference

Provides an interface for critics of trajectories During each sampling run, a batch of many trajectories will be scored using such a cost function. The prepare method is called before each batch run, and then for each trajectory of the sampling set, score_trajectory may be called. More...

#include <trajectory_cost_function.h>

Inheritance diagram for base_local_planner::TrajectoryCostFunction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double getScale ()
virtual bool prepare ()=0
virtual double scoreTrajectory (Trajectory &traj)=0
void setScale (double scale)
virtual ~TrajectoryCostFunction ()

Protected Member Functions

 TrajectoryCostFunction (double scale=1.0)

Private Attributes

double scale_

Detailed Description

Provides an interface for critics of trajectories During each sampling run, a batch of many trajectories will be scored using such a cost function. The prepare method is called before each batch run, and then for each trajectory of the sampling set, score_trajectory may be called.

Definition at line 52 of file trajectory_cost_function.h.


Constructor & Destructor Documentation

Definition at line 75 of file trajectory_cost_function.h.

base_local_planner::TrajectoryCostFunction::TrajectoryCostFunction ( double  scale = 1.0) [inline, protected]

Definition at line 78 of file trajectory_cost_function.h.


Member Function Documentation

Definition at line 67 of file trajectory_cost_function.h.

virtual bool base_local_planner::TrajectoryCostFunction::prepare ( ) [pure virtual]

General updating of context values if required. Subclasses may overwrite. Return false in case there is any error.

Implemented in base_local_planner::MapGridCostFunction, base_local_planner::ObstacleCostFunction, base_local_planner::OscillationCostFunction, and base_local_planner::PreferForwardCostFunction.

Definition at line 71 of file trajectory_cost_function.h.


Member Data Documentation

Definition at line 81 of file trajectory_cost_function.h.


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


base_local_planner
Author(s): Eitan Marder-Eppstein, Eric Perko
autogenerated on Mon Oct 6 2014 02:45:34