libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
stomp_motion_planner::Task Class Referenceabstract
Inheritance diagram for stomp_motion_planner::Task:
stomp_motion_planner::StompOptimizer

Public Member Functions

virtual bool initialize (int num_time_steps)=0
 Initializes the task for a given number of time steps. More...
 
virtual bool execute (std::vector< Eigen::VectorXd > &parameters, Eigen::VectorXd &costs, const int iteration_number, bool resample=false)=0
 Executes the task for the given policy parameters, and returns the costs per timestep. More...
 
virtual bool getPolicy (boost::shared_ptr< stomp_motion_planner::Policy > &policy)=0
 Get the Policy object of this Task. More...
 
virtual bool setPolicy (const boost::shared_ptr< stomp_motion_planner::Policy > policy)=0
 Sets the Policy object of this Task. More...
 
virtual bool getControlCostWeight (double &control_cost_weight)=0
 Gets the weight of the control cost. More...
 

Member Function Documentation

virtual bool stomp_motion_planner::Task::execute ( std::vector< Eigen::VectorXd > &  parameters,
Eigen::VectorXd &  costs,
const int  iteration_number,
bool  resample = false 
)
pure virtual

Executes the task for the given policy parameters, and returns the costs per timestep.

Parameters
parameters[num_dimensions] num_parameters - policy parameters to execute
costsVector of num_time_steps, state space cost per timestep (do not include control costs)
Returns

Implemented in stomp_motion_planner::StompOptimizer.

virtual bool stomp_motion_planner::Task::getControlCostWeight ( double &  control_cost_weight)
pure virtual

Gets the weight of the control cost.

Parameters
control_cost_weight
Returns

Implemented in stomp_motion_planner::StompOptimizer.

virtual bool stomp_motion_planner::Task::getPolicy ( boost::shared_ptr< stomp_motion_planner::Policy > &  policy)
pure virtual

Get the Policy object of this Task.

Parameters
policy
Returns

Implemented in stomp_motion_planner::StompOptimizer.

virtual bool stomp_motion_planner::Task::initialize ( int  num_time_steps)
pure virtual

Initializes the task for a given number of time steps.

Parameters
num_time_steps
Returns

Implemented in stomp_motion_planner::StompOptimizer.

virtual bool stomp_motion_planner::Task::setPolicy ( const boost::shared_ptr< stomp_motion_planner::Policy policy)
pure virtual

Sets the Policy object of this Task.

Parameters
policy
Returns

Implemented in stomp_motion_planner::StompOptimizer.


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