37 #ifndef CONSTRAINT_EVALUATOR_H_
38 #define CONSTRAINT_EVALUATOR_H_
40 #include "Chomp/chompTrajectory.hpp"
41 #include "OrientationConstraint.hpp"
51 virtual bool getCost(
const std::vector<Eigen::Tranform3d>& frame,
const Eigen::VectorXd& full_trajectory_joint_pos,
double& cost)=0;
58 const StompRobotModel& robot_model);
61 bool getCost(
const std::vector<KDL::Frame>& frame,
const Eigen::VectorXd& full_trajectory_joint_pos,
double& cost);
64 double absolute_roll_tolerance_, absolute_pitch_tolerance_, absolute_yaw_tolerance_;
65 double roll_weight_, pitch_weight_, yaw_weight_;
66 btMatrix3x3 nominal_orientation_, nominal_orientation_inverse_;
67 bool body_fixed_orientation_constraint_;
70 void getRPYDistance(
const btMatrix3x3 &orientation_matrix,
double &roll,
double &pitch,
double &yaw)
const;
Definition: constraint_evaluator.hpp:45
Definition: constraint_evaluator.hpp:54