68 DynamicsSolver(
const moveit::core::RobotModelConstPtr& robot_model,
const std::string& group_name,
69 const geometry_msgs::msg::Vector3& gravity_vector);
86 bool getTorques(
const std::vector<double>& joint_angles,
const std::vector<double>& joint_velocities,
87 const std::vector<double>& joint_accelerations,
88 const std::vector<geometry_msgs::msg::Wrench>& wrenches, std::vector<double>& torques)
const;
101 bool getMaxPayload(
const std::vector<double>& joint_angles,
double& payload,
unsigned int& joint_saturated)
const;
114 std::vector<double>& joint_torques)
const;
133 return joint_model_group_;
137 std::shared_ptr<KDL::ChainIdSolver_RNE> chain_id_solver_;
138 KDL::Chain kdl_chain_;
140 moveit::core::RobotModelConstPtr robot_model_;
143 moveit::core::RobotStatePtr state_;
145 std::string base_name_, tip_name_;
146 unsigned int num_joints_, num_segments_;
147 std::vector<double> max_torques_;