跳到主要内容

通过笛卡尔坐标点位设置位置

设置目标位置为笛卡尔空间的坐标点数值

参数

参数类型说明
target_posegeometry_msgs::Pose目标点

示例

geometry_msgs::Pose target_pose;
target_pose.orientation.x = 0.7;
target_pose.orientation.y = 0.7;
target_pose.orientation.z = 0.7;
target_pose.orientation.w = 0.7;
target_pose.position.x = 1;
target_pose.position.y = 1;
target_pose.position.z = 1;
group.setPoseTarget(target_pose);