1#ifndef ROBOTOC_DERIVATIVE_CHECKER_HPP_
2#define ROBOTOC_DERIVATIVE_CHECKER_HPP_
17 const double finite_diff=1.0e-08,
18 const double test_tol=1.0e-03);
27 const std::shared_ptr<CostFunctionComponentBase>& cost);
30 const std::shared_ptr<CostFunctionComponentBase>& cost);
33 const std::shared_ptr<CostFunctionComponentBase>& cost,
37 const std::shared_ptr<CostFunctionComponentBase>& cost,
41 const std::shared_ptr<CostFunctionComponentBase>& cost);
44 const std::shared_ptr<CostFunctionComponentBase>& cost);
47 const std::shared_ptr<CostFunctionComponentBase>& cost);
50 const std::shared_ptr<CostFunctionComponentBase>& cost);
53 const std::shared_ptr<CostFunctionComponentBase>& cost,
57 const std::shared_ptr<CostFunctionComponentBase>& cost,
62 double finite_diff_, test_tol_;
Definition: derivative_checker.hpp:14
bool checkSecondOrderTerminalCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
bool checkSecondOrderImpactCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost, const ImpactStatus &impact_status)
bool checkFirstOrderStageCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost, const ContactStatus &contact_status)
void setFiniteDifference(const double finite_diff=1.0e-08)
bool checkSecondOrderStageCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost, const ContactStatus &contact_status)
DerivativeChecker(const Robot &robot, const double finite_diff=1.0e-08, const double test_tol=1.0e-03)
bool checkFirstOrderTerminalCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
bool checkFirstOrderImpactCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
bool checkFirstOrderStageCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
bool checkSecondOrderImpactCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
void setTestTolerance(const double test_tol=1.0e-03)
bool checkSecondOrderStageCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost)
bool checkFirstOrderImpactCostDerivatives(const std::shared_ptr< CostFunctionComponentBase > &cost, const ImpactStatus &impact_status)
Impact status of robot model. Wrapper of ContactStatus to treat impacts.
Definition: impact_status.hpp:21
Dynamics and kinematics model of robots. Wraps pinocchio::Model and pinocchio::Data....
Definition: robot.hpp:32
Definition: constraint_component_base.hpp:17