Only released in EOL distros:
Package Summary
pr2_arm_kinematics_constraint_aware
- Author: Sachin Chitta
- License: BSD
- Repository: wg-ros-pkg
- Source: svn https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_kinematics/tags/pr2_kinematics-0.3.4
Package Summary
pr2_arm_kinematics_constraint_aware
- Author: Sachin Chitta
- License: BSD
- Source: svn https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_kinematics/branches/electric_patches
Package Summary
pr2_arm_kinematics_constraint_aware
- Author: Sachin Chitta
- License: BSD
- Source: svn https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_kinematics/trunk
Package Summary
pr2_arm_kinematics_constraint_aware
- Author: Sachin Chitta
- License: BSD
- Source: svn https://code.ros.org/svn/wg-ros-pkg/stacks/pr2_kinematics/trunk
Contents
Overview
This package contains a node that can be used to perform forward and inverse kinematics computations for the PR2 robot arms. The node exposes functionality that automatically cycles through the entire redundancy of the 7 DOF arms and provides collision free inverse kinematics solutions.
ROS API
API Stability
- ROS API is REVIEWED but UNSTABLE
- C++ API is UNREVIEWED and UNSTABLE
Services Offered
pr2_arm_kinematics_constraint_aware provides services for FK and IK computation and also services for computing collision free IK solutions. It can be configured using ROS parameters. The ROS API is explained in greater detail below. To get a generic (non-constraint aware) version of this node, check out the pr2_arm_kinematics package.
Services
node_namespace/get_ik (kinematics_msgs/GetPositionIK)- Compute the IK for a desired end-effector pose. The service call specifies the end-effector link name and a pose for this link. The request also includes a "hint" set of joint values that is used as a seed for the IK search. The returned IK solution is the closest to the seed solution (using an Euclidean metric) among the first set of found solutions.
- Compute the forward kinematics for a given set of joint positions.
- returns the set of joints that the kinematics node uses for computation. Also returns joint limit information and the set of links that the kinematics node can solve IK for.
- returns the set of joints that the kinematics node uses for FK computation. Also returns joint limit information and the set of links that the kinematics node can solve FK for.
- Compute collision free IK for a desired end-effector pose. The service call specifies the end-effector link name and a pose for this link. The request also includes a "hint" set of joint values that is used as a seed for the IK search. The returned IK solution is the closest to the seed solution (using an Euclidean metric) among the first set of found solutions.
ROS Parameter Configuration
Parameters
~free_angle (int, default: 2)- The joint number for the free parameter that is required for computing IK (since this is a 7 dof redundant manipulator). The specified value of this angle in the initial guess provided in the IKRequest message is used to seed the search for IK solutions. The current options for this parameter are 0 or 2. It will default to 2 if set to any other value.
- The discretization angle (in radians) for the free parameter to be used in the search that the ik node will perform to get back a solution.
- The name of the link that corresponds to the torso lift link. This is the root of the chain for the arm.
- The name of the tip link for the arm. This is the link that corresponds to the last joint axis of the arm chain (excluding the end-effector).
Tutorials
Tutorials for this package can be found in the pr2_kinematics stack tutorials.
Additional Configuration Details
Additional configuration details are available from the Configuration page.