Skip to main content

Set position by Cartesian coordinate point

Set the target position to the value of Cartesian coordinate point

Parameters

ParameterTypeDescription
target_posegeometry_msgs::PoseTarget point

Example

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);