Meta-function for trajectory cost. More...
#include <roboptim/trajectory/trajectory-cost.hh>
Public Types | |
| typedef T | trajectory_t |
| Trajectory type. | |
Public Member Functions | |
| TrajectoryCost (const trajectory_t &traj, std::string name=std::string()) | |
| Concret class should call this constructor. | |
| virtual | ~TrajectoryCost () |
Protected Attributes | |
| const trajectory_t & | trajectory_ |
| Input trajectory. | |
Meta-function for trajectory cost.
This is a
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 |
| roboptim::trajectory::TrajectoryCost< T >::~TrajectoryCost | ( | ) | [virtual] |
const trajectory_t& roboptim::trajectory::TrajectoryCost< T >::trajectory_ [protected] |
Input trajectory.