Public Member Functions | |
bool | init () |
Kinematics () | |
Private Member Functions | |
bool | getFKSolverInfo (moveit_msgs::GetKinematicSolverInfo::Request &request, moveit_msgs::GetKinematicSolverInfo::Response &response) |
This is the basic kinematics info service that will return information about the kinematics node. | |
bool | getIKSolverInfo (moveit_msgs::GetKinematicSolverInfo::Request &request, moveit_msgs::GetKinematicSolverInfo::Response &response) |
This is the basic kinematics info service that will return information about the kinematics node. | |
int | getJointIndex (const std::string &name) |
int | getKDLSegmentIndex (const std::string &name) |
bool | getPositionFK (moveit_msgs::GetPositionFK::Request &request, moveit_msgs::GetPositionFK::Response &response) |
This is the basic forward kinematics service that will return information about the kinematics node. | |
bool | getPositionIK (moveit_msgs::GetPositionIK::Request &request, moveit_msgs::GetPositionIK::Response &response) |
This is the basic IK service method that will compute and return an IK solution. | |
bool | loadModel (const std::string xml) |
bool | readJoints (urdf::Model &robot_model) |
Private Attributes | |
KDL::Chain | chain |
double | epsilon |
std::string | finger_base_name |
ros::ServiceServer | fk_service |
KDL::ChainFkSolverPos_recursive * | fk_solver |
ros::ServiceServer | fk_solver_info_service |
ros::ServiceServer | ik_service |
ros::ServiceServer | ik_solver_info_service |
moveit_msgs::KinematicSolverInfo | info |
unsigned int | J5_idx_offset |
KDL::JntArray | joint_max |
KDL::JntArray | joint_min |
std::vector< urdf::Vector3 > | knuckle_axis |
double | length_middle |
double | length_proximal |
std::vector< urdf::Pose > | link_offset |
std::vector< std::string > | link_offset_name |
ros::NodeHandle | nh |
ros::NodeHandle | nh_private |
unsigned int | num_joints |
std::string | root_name |
tf::TransformListener | tf_listener |
std::string | tip_name |
Definition at line 62 of file sr_kinematics.cpp.
Definition at line 128 of file sr_kinematics.cpp.
bool Kinematics::getFKSolverInfo | ( | moveit_msgs::GetKinematicSolverInfo::Request & | request, |
moveit_msgs::GetKinematicSolverInfo::Response & | response | ||
) | [private] |
This is the basic kinematics info service that will return information about the kinematics node.
A | request message. See service definition for GetKinematicSolverInfo for more information on this message. |
The | response message. See service definition for GetKinematicSolverInfo for more information on this message. |
Definition at line 605 of file sr_kinematics.cpp.
bool Kinematics::getIKSolverInfo | ( | moveit_msgs::GetKinematicSolverInfo::Request & | request, |
moveit_msgs::GetKinematicSolverInfo::Response & | response | ||
) | [private] |
This is the basic kinematics info service that will return information about the kinematics node.
A | request message. See service definition for GetKinematicSolverInfo for more information on this message. |
The | response message. See service definition for GetKinematicSolverInfo for more information on this message. |
Definition at line 598 of file sr_kinematics.cpp.
int Kinematics::getJointIndex | ( | const std::string & | name | ) | [private] |
Definition at line 375 of file sr_kinematics.cpp.
int Kinematics::getKDLSegmentIndex | ( | const std::string & | name | ) | [private] |
Definition at line 385 of file sr_kinematics.cpp.
bool Kinematics::getPositionFK | ( | moveit_msgs::GetPositionFK::Request & | request, |
moveit_msgs::GetPositionFK::Response & | response | ||
) | [private] |
This is the basic forward kinematics service that will return information about the kinematics node.
A | request message. See service definition for GetPositionFK for more information on this message. |
The | response message. See service definition for GetPositionFK for more information on this message. |
Definition at line 612 of file sr_kinematics.cpp.
bool Kinematics::getPositionIK | ( | moveit_msgs::GetPositionIK::Request & | request, |
moveit_msgs::GetPositionIK::Response & | response | ||
) | [private] |
This is the basic IK service method that will compute and return an IK solution.
A | request message. See service definition for GetPositionIK for more information on this message. |
The | response message. See service definition for GetPositionIK for more information on this message. |
Definition at line 399 of file sr_kinematics.cpp.
bool Kinematics::init | ( | ) |
Definition at line 134 of file sr_kinematics.cpp.
bool Kinematics::loadModel | ( | const std::string | xml | ) | [private] |
Definition at line 215 of file sr_kinematics.cpp.
bool Kinematics::readJoints | ( | urdf::Model & | robot_model | ) | [private] |
Definition at line 245 of file sr_kinematics.cpp.
KDL::Chain Kinematics::chain [private] |
Definition at line 72 of file sr_kinematics.cpp.
double Kinematics::epsilon [private] |
Definition at line 80 of file sr_kinematics.cpp.
std::string Kinematics::finger_base_name [private] |
Definition at line 70 of file sr_kinematics.cpp.
ros::ServiceServer Kinematics::fk_service [private] |
Definition at line 86 of file sr_kinematics.cpp.
Definition at line 78 of file sr_kinematics.cpp.
Definition at line 86 of file sr_kinematics.cpp.
ros::ServiceServer Kinematics::ik_service [private] |
Definition at line 85 of file sr_kinematics.cpp.
Definition at line 85 of file sr_kinematics.cpp.
moveit_msgs::KinematicSolverInfo Kinematics::info [private] |
Definition at line 90 of file sr_kinematics.cpp.
unsigned int Kinematics::J5_idx_offset [private] |
Definition at line 83 of file sr_kinematics.cpp.
KDL::JntArray Kinematics::joint_max [private] |
Definition at line 71 of file sr_kinematics.cpp.
KDL::JntArray Kinematics::joint_min [private] |
Definition at line 71 of file sr_kinematics.cpp.
std::vector<urdf::Vector3> Kinematics::knuckle_axis [private] |
Definition at line 76 of file sr_kinematics.cpp.
double Kinematics::length_middle [private] |
Definition at line 81 of file sr_kinematics.cpp.
double Kinematics::length_proximal [private] |
Definition at line 82 of file sr_kinematics.cpp.
std::vector<urdf::Pose> Kinematics::link_offset [private] |
Definition at line 74 of file sr_kinematics.cpp.
std::vector<std::string> Kinematics::link_offset_name [private] |
Definition at line 75 of file sr_kinematics.cpp.
ros::NodeHandle Kinematics::nh [private] |
Definition at line 69 of file sr_kinematics.cpp.
ros::NodeHandle Kinematics::nh_private [private] |
Definition at line 69 of file sr_kinematics.cpp.
unsigned int Kinematics::num_joints [private] |
Definition at line 73 of file sr_kinematics.cpp.
std::string Kinematics::root_name [private] |
Definition at line 70 of file sr_kinematics.cpp.
tf::TransformListener Kinematics::tf_listener [private] |
Definition at line 88 of file sr_kinematics.cpp.
std::string Kinematics::tip_name [private] |
Definition at line 70 of file sr_kinematics.cpp.