#include <prefer_forward_cost_function.h>
Public Member Functions | |
PreferForwardCostFunction (double penalty) | |
bool | prepare () |
double | scoreTrajectory (Trajectory &traj) |
void | setPenalty (double penalty) |
~PreferForwardCostFunction () | |
Public Member Functions inherited from base_local_planner::TrajectoryCostFunction | |
double | getScale () |
void | setScale (double scale) |
virtual | ~TrajectoryCostFunction () |
Private Attributes | |
double | penalty_ |
Additional Inherited Members | |
Protected Member Functions inherited from base_local_planner::TrajectoryCostFunction | |
TrajectoryCostFunction (double scale=1.0) | |
Definition at line 45 of file prefer_forward_cost_function.h.
|
inline |
Definition at line 48 of file prefer_forward_cost_function.h.
|
inline |
Definition at line 49 of file prefer_forward_cost_function.h.
|
inlinevirtual |
General updating of context values if required. Subclasses may overwrite. Return false in case there is any error.
Implements base_local_planner::TrajectoryCostFunction.
Definition at line 53 of file prefer_forward_cost_function.h.
|
virtual |
return a score for trajectory traj
Implements base_local_planner::TrajectoryCostFunction.
Definition at line 15 of file prefer_forward_cost_function.cpp.
|
inline |
Definition at line 55 of file prefer_forward_cost_function.h.
|
private |
Definition at line 60 of file prefer_forward_cost_function.h.