19 #ifndef OPEN_MANIPULATOR_ARM_CONTROLLER_H 20 #define OPEN_MANIPULATOR_ARM_CONTROLLER_H 32 #include <moveit_msgs/DisplayTrajectory.h> 36 #include <std_msgs/Float64.h> 37 #include <std_msgs/String.h> 39 #include <sensor_msgs/JointState.h> 40 #include <geometry_msgs/PoseStamped.h> 42 #include "open_manipulator_msgs/State.h" 44 #include "open_manipulator_msgs/GetJointPosition.h" 45 #include "open_manipulator_msgs/GetKinematicsPose.h" 47 #include "open_manipulator_msgs/SetJointPosition.h" 48 #include "open_manipulator_msgs/SetKinematicsPose.h" 50 #include <eigen3/Eigen/Eigen> 54 #define ITERATION_FREQUENCY 25 //Hz 121 open_manipulator_msgs::SetJointPosition::Response &res);
124 open_manipulator_msgs::SetKinematicsPose::Response &res);
127 open_manipulator_msgs::GetJointPosition::Response &res);
130 open_manipulator_msgs::GetKinematicsPose::Response &res);
bool getJointPositionMsgCallback(open_manipulator_msgs::GetJointPosition::Request &req, open_manipulator_msgs::GetJointPosition::Response &res)
bool setKinematicsPoseMsgCallback(open_manipulator_msgs::SetKinematicsPose::Request &req, open_manipulator_msgs::SetKinematicsPose::Response &res)
ros::ServiceServer get_joint_position_server_
ros::Subscriber display_planned_path_sub_
Eigen::MatrixXd planned_path_positions
PlannedPathInfo planned_path_info_
void displayPlannedPathMsgCallback(const moveit_msgs::DisplayTrajectory::ConstPtr &msg)
void initPublisher(bool using_gazebo)
ros::Publisher gazebo_goal_joint_position_pub_[10]
ros::ServiceServer set_kinematics_pose_server_
ros::Publisher arm_state_pub_
ros::Publisher goal_joint_position_pub_
bool getKinematicsPoseMsgCallback(open_manipulator_msgs::GetKinematicsPose::Request &req, open_manipulator_msgs::GetKinematicsPose::Response &res)
ros::ServiceServer set_joint_position_server_
void initSubscriber(bool using_gazebo)
moveit::planning_interface::MoveGroupInterface * move_group
bool calcPlannedPath(open_manipulator_msgs::JointPosition msg)
bool setJointPositionMsgCallback(open_manipulator_msgs::SetJointPosition::Request &req, open_manipulator_msgs::SetJointPosition::Response &res)
ros::ServiceServer get_kinematics_pose_server_