44#include < bio_ik/bio_ik.hpp>
55#include < bitbots_dynup/dynup_parameters.hpp>
66#include < bitbots_splines/abstract_ik.hpp>
7+ #include < bitbots_dynup/ik.hpp>
78#include < moveit/robot_model_loader/robot_model_loader.hpp>
89#include < moveit/robot_state/robot_state.hpp>
910#include < sensor_msgs/msg/joint_state.hpp>
10- #include < tf2/convert.hpp>
1111#include < tf2_geometry_msgs/tf2_geometry_msgs.hpp>
12+ #include < tf2_eigen/tf2_eigen.hpp>
13+ #include < tf2/convert.hpp>
1214
1315#include " dynup_utils.hpp"
1416
@@ -23,13 +25,13 @@ class DynupIK : public bitbots_splines::AbstractIK<DynupResponse> {
2325 moveit::core::RobotStatePtr get_goal_state ();
2426 void set_joint_positions (sensor_msgs::msg::JointState::ConstSharedPtr joint_state);
2527
28+ const std::vector<std::string> getLeftLegJointNames ();
29+ const std::vector<std::string> getRightLegJointNames ();
30+
2631 private:
2732 rclcpp::Node::SharedPtr node_;
28- moveit::core::JointModelGroup* all_joints_group_;
2933 moveit::core::JointModelGroup* l_arm_joints_group_;
30- moveit::core::JointModelGroup* l_leg_joints_group_;
3134 moveit::core::JointModelGroup* r_arm_joints_group_;
32- moveit::core::JointModelGroup* r_leg_joints_group_;
3335 moveit::core::RobotStatePtr goal_state_;
3436 sensor_msgs::msg::JointState::ConstSharedPtr joint_state_;
3537 DynupDirection direction_;
0 commit comments