Meta-function for trajectory cost. More...
#include <roboptim/trajectory/trajectory-cost.hh>
Public Types | |
typedef T | trajectory_t |
Trajectory type. More... | |
Public Member Functions | |
TrajectoryCost (const trajectory_t &traj, std::string name=std::string()) | |
Concret class should call this constructor. More... | |
virtual | ~TrajectoryCost () |
Protected Attributes | |
const trajectory_t & | trajectory_ |
Input trajectory. More... | |
Meta-function for trajectory cost.
This is a \(\mathbb{R}^n \rightarrow \mathbb{R}\) meta-function for costs on trajectories.
It takes a trajectory as its input.
T | trajectory type |
typedef T roboptim::trajectory::TrajectoryCost< T >::trajectory_t |
Trajectory type.
roboptim::trajectory::TrajectoryCost< T >::TrajectoryCost | ( | const trajectory_t & | traj, |
std::string | name = std::string () |
||
) |
Concret class should call this constructor.
traj | trajectory on which the cost is computed |
name | function's name |
|
virtual |
|
protected |
Input trajectory.