|
| TaskSpace6DCost (const Robot &robot, const int frame_id) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const std::string &frame_name) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const int frame_id, const std::shared_ptr< TaskSpace6DRefBase > &ref) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const int frame_id, const SE3 &const_ref) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const int frame_id, const Eigen::Vector3d &const_position_ref, const Eigen::Matrix3d &const_rotation_ref) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const std::string &frame_name, const std::shared_ptr< TaskSpace6DRefBase > &ref) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const std::string &frame_name, const SE3 &const_ref) |
| Constructor. More...
|
|
| TaskSpace6DCost (const Robot &robot, const std::string &frame_name, const Eigen::Vector3d &const_position_ref, const Eigen::Matrix3d &const_rotation_ref) |
| Constructor. More...
|
|
| TaskSpace6DCost () |
| Default constructor. More...
|
|
| ~TaskSpace6DCost () |
| Destructor. More...
|
|
| TaskSpace6DCost (const TaskSpace6DCost &)=default |
| Default copy constructor. More...
|
|
TaskSpace6DCost & | operator= (const TaskSpace6DCost &)=default |
| Default copy operator. More...
|
|
| TaskSpace6DCost (TaskSpace6DCost &&) noexcept=default |
| Default move constructor. More...
|
|
TaskSpace6DCost & | operator= (TaskSpace6DCost &&) noexcept=default |
| Default move assign operator. More...
|
|
void | set_ref (const std::shared_ptr< TaskSpace6DRefBase > &ref) |
| Sets the reference task-space placement. More...
|
|
void | set_const_ref (const SE3 &const_ref) |
| Sets the const reference task-space placement. More...
|
|
void | set_const_ref (const Eigen::Vector3d &const_position_ref, const Eigen::Matrix3d &const_rotation_ref) |
| Sets the const reference task-space placement. More...
|
|
void | set_weight (const Eigen::Vector3d &weight_position, const Eigen::Vector3d &weight_rotation) |
| Sets the weight vector. More...
|
|
void | set_weight_terminal (const Eigen::Vector3d &weight_position_terminal, const Eigen::Vector3d &weight_rotation_terminal) |
| Sets the weight vector at the terminal stage. More...
|
|
void | set_weight_impact (const Eigen::Vector3d &weight_position_impact, const Eigen::Vector3d &weight_rotation_impact) |
| Sets the weight vector at the impact stage. More...
|
|
bool | isCostActive (const GridInfo &grid_info) const |
| Evaluate if the cost is active for given grid_info. More...
|
|
void | evalDiff (const Robot &robot, CostFunctionData &data, const GridInfo &grid_info) const |
| Evaluate the difference between the robot's task-space position status and reference. More...
|
|
double | evalStageCost (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const override |
| Computes the stage cost. More...
|
|
void | evalStageCostDerivatives (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const override |
| Computes the first-order partial derivatives of the stage cost. This function is always called just after evalStageCost(). More...
|
|
void | evalStageCostHessian (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const override |
| Computes the Hessian, i.e., the second-order partial derivatives of the stage cost. This function is always called just after evalStageCostDerivatives(). More...
|
|
double | evalTerminalCost (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const override |
| Computes the terminal cost. More...
|
|
void | evalTerminalCostDerivatives (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const override |
| Computes the first-order partial derivatives of the terminal cost. This function is always called just after evalTerminalCost(). More...
|
|
void | evalTerminalCostHessian (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const override |
| Computes the Hessian, i.e., the second-order partial derivatives of the teminal cost. This function is always called just after evalTerminalCostDerivatives(). More...
|
|
double | evalImpactCost (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const override |
| Computes the impact cost. More...
|
|
void | evalImpactCostDerivatives (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const override |
| Computes the first-order partial derivatives of the impact cost. This function is always called just after evalImpactCost(). More...
|
|
void | evalImpactCostHessian (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const override |
| Computes the Hessian, i.e., the second-order partial derivatives of the impact cost. This function is always called just after evalImpactCostDerivatives(). More...
|
|
| CostFunctionComponentBase () |
| Default constructor. More...
|
|
virtual | ~CostFunctionComponentBase () |
| Destructor. More...
|
|
| CostFunctionComponentBase (const CostFunctionComponentBase &)=default |
| Default copy constructor. More...
|
|
CostFunctionComponentBase & | operator= (const CostFunctionComponentBase &)=default |
| Default copy operator. More...
|
|
| CostFunctionComponentBase (CostFunctionComponentBase &&) noexcept=default |
| Default move constructor. More...
|
|
CostFunctionComponentBase & | operator= (CostFunctionComponentBase &&) noexcept=default |
| Default move assign operator. More...
|
|
virtual double | evalStageCost (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const =0 |
| Computes the stage cost. More...
|
|
virtual void | evalStageCostDerivatives (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const =0 |
| Computes the first-order partial derivatives of the stage cost. This function is always called just after evalStageCost(). More...
|
|
virtual void | evalStageCostHessian (Robot &robot, const ContactStatus &contact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const =0 |
| Computes the Hessian, i.e., the second-order partial derivatives of the stage cost. This function is always called just after evalStageCostDerivatives(). More...
|
|
virtual double | evalTerminalCost (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const =0 |
| Computes the terminal cost. More...
|
|
virtual void | evalTerminalCostDerivatives (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const =0 |
| Computes the first-order partial derivatives of the terminal cost. This function is always called just after evalTerminalCost(). More...
|
|
virtual void | evalTerminalCostHessian (Robot &robot, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const =0 |
| Computes the Hessian, i.e., the second-order partial derivatives of the teminal cost. This function is always called just after evalTerminalCostDerivatives(). More...
|
|
virtual double | evalImpactCost (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s) const =0 |
| Computes the impact cost. More...
|
|
virtual void | evalImpactCostDerivatives (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTResidual &kkt_residual) const =0 |
| Computes the first-order partial derivatives of the impact cost. This function is always called just after evalImpactCost(). More...
|
|
virtual void | evalImpactCostHessian (Robot &robot, const ImpactStatus &impact_status, CostFunctionData &data, const GridInfo &grid_info, const SplitSolution &s, SplitKKTMatrix &kkt_matrix) const =0 |
| Computes the Hessian, i.e., the second-order partial derivatives of the impact cost. This function is always called just after evalImpactCostDerivatives(). More...
|
|
template<typename Derived > |
std::shared_ptr< Derived > | as_shared_ptr () |
| Gets the shared ptr of this object as the specified type. If this fails in dynamic casting, throws an exception. More...
|
|
Cost on the task space placement (SE(3)).