38 #include <std_msgs/Float64.h> 47 JogAPI(
const std::string& move_group_name,
const std::string& outgoing_jog_topic)
55 bool jacobianMove(geometry_msgs::PoseStamped& target_pose,
const double trans_tolerance,
const double rot_tolerance,
56 const std::vector<double>& speed_scale,
const ros::Duration& timeout);
72 bool transformPose(geometry_msgs::PoseStamped& pose, std::string& desired_frame);
78 geometry_msgs::TwistStamped
twist;
81 const geometry_msgs::PoseStamped& target_pose,
82 const std::vector<double>& speed_scale);
ros::Publisher jog_vel_pub_
bool jacobianMove(geometry_msgs::PoseStamped &target_pose, const double trans_tolerance, const double rot_tolerance, const std::vector< double > &speed_scale, const ros::Duration &timeout)
bool transformPose(geometry_msgs::PoseStamped &pose, std::string &desired_frame)
tf2_ros::TransformListener tf2_listener_
distanceAndTwist calculateDistanceAndTwist(const geometry_msgs::PoseStamped ¤t_pose, const geometry_msgs::PoseStamped &target_pose, const std::vector< double > &speed_scale)
bool maintainPose(std::string frame, const ros::Duration duration, const std::vector< double > &speed_scale)
moveit::planning_interface::MoveGroupInterface move_group_
tf2_ros::Buffer tf_buffer_
double rotational_distance
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
geometry_msgs::TwistStamped twist
JogAPI(const std::string &move_group_name, const std::string &outgoing_jog_topic)
double translational_distance