28 #include <cob_lookat_action/LookAtAction.h> 29 #include <control_msgs/FollowJointTrajectoryAction.h> 30 #include <trajectory_msgs/JointTrajectory.h> 31 #include <trajectory_msgs/JointTrajectoryPoint.h> 32 #include <move_base_msgs/MoveBaseAction.h> 40 #include <kdl/chainfksolverpos_recursive.hpp> 41 #include <kdl/chainiksolverpos_lma.hpp> 76 fjt_name_(
"joint_trajectory_controller/follow_joint_trajectory"),
77 mbl_name_(
"/docker_control/move_base_linear"),
78 lookat_name_(action_name)
84 void goalCB(
const cob_lookat_action::LookAtGoalConstPtr &goal);
std::shared_ptr< KDL::ChainFkSolverPos_recursive > fk_solver_pos_
std::shared_ptr< tf2_ros::Buffer > tf_buffer_
std::shared_ptr< KDL::ChainIkSolverPos_LMA > ik_solver_pos_
CobLookAtAction(std::string action_name)
std::string chain_base_link_
std::string chain_tip_link_
actionlib::SimpleActionClient< control_msgs::FollowJointTrajectoryAction > * fjt_ac_
std::shared_ptr< tf2_ros::TransformListener > tf_listener_
std::vector< std::string > joint_names_
ros::Duration buffer_duration_
cob_lookat_action::LookAtFeedback lookat_fb_
cob_lookat_action::LookAtResult lookat_res_
void goalCB(const cob_lookat_action::LookAtGoalConstPtr &goal)
actionlib::SimpleActionClient< move_base_msgs::MoveBaseAction > * mbl_ac_
std::shared_ptr< KDL::ChainFkSolverPos_recursive > fk_solver_pos_main_
actionlib::SimpleActionServer< cob_lookat_action::LookAtAction > * lookat_as_