Robowflex
v0.1
Making MoveIt Easy
|
Functions | |
bool | sceneToTesseractEnv (const robowflex::SceneConstPtr &scene, tesseract::tesseract_ros::KDLEnvPtr env) |
Add scene collision objects to a (previously initialized) KDL environment. More... | |
bool | addAttachedBodiesToTesseractEnv (const robot_state::RobotStatePtr &state, tesseract::tesseract_ros::KDLEnvPtr env) |
Add bodies attached to the robot scratch state to the KDL environment. More... | |
void | robotStateToManipState (const robot_state::RobotStatePtr &robot_state, const std::vector< std::string > &manip_joint_names, std::vector< double > &manip_joint_values) |
Transform a robot_state to a vector representing joint values for the manipulator (in the order given by manip_joint_names). More... | |
void | manipStateToRobotState (const Eigen::Ref< const Eigen::VectorXd > &manip_state, const std::string &manip, const tesseract::tesseract_ros::KDLEnvPtr &env, robot_state::RobotStatePtr robot_state) |
Transform a tesseract waypoint (manip state) to robot state. Joint values for non-manip joints are taken from env. More... | |
void | manipTesseractTrajToRobotTraj (const tesseract::TrajArray &tesseract_traj, const robot_state::RobotStatePtr &ref_state, const std::string &manip, const tesseract::tesseract_ros::KDLEnvPtr &env, robot_trajectory::RobotTrajectoryPtr trajectory) |
Transform a tesseract trajectory to a robot trajectory. More... | |
void | robotTrajToManipTesseractTraj (const robot_trajectory::RobotTrajectoryPtr &robot_traj, const std::string &manip, const tesseract::tesseract_ros::KDLEnvPtr &env, tesseract::TrajArray &trajectory) |
Transform a robot_trajectory to a tesseract manipulator trajectory. More... | |
bool robowflex::hypercube::addAttachedBodiesToTesseractEnv | ( | const robot_state::RobotStatePtr & | state, |
tesseract::tesseract_ros::KDLEnvPtr | env | ||
) |
Add bodies attached to the robot scratch state to the KDL environment.
[in] | state | Robot state with objects attached. |
[out] | env | KDL environment to add the attached objects. |
Definition at line 122 of file conversions.cpp.
void robowflex::hypercube::manipStateToRobotState | ( | const Eigen::Ref< const Eigen::VectorXd > & | manip_state, |
const std::string & | manip, | ||
const tesseract::tesseract_ros::KDLEnvPtr & | env, | ||
robot_state::RobotStatePtr | robot_state | ||
) |
Transform a tesseract waypoint (manip state) to robot state. Joint values for non-manip joints are taken from env.
[in] | manip_state | Tesseract manipulator state to be transformed. |
[in] | manip | Name of manipulator. |
[in] | env | KDL environment with the robot (and manipulator) information already loaded. |
[out] | robot_state | Robot state representing manip_state. |
Definition at line 199 of file conversions.cpp.
void robowflex::hypercube::manipTesseractTrajToRobotTraj | ( | const tesseract::TrajArray & | tesseract_traj, |
const robot_state::RobotStatePtr & | ref_state, | ||
const std::string & | manip, | ||
const tesseract::tesseract_ros::KDLEnvPtr & | env, | ||
robot_trajectory::RobotTrajectoryPtr | trajectory | ||
) |
Transform a tesseract trajectory to a robot trajectory.
[in] | tesseract_traj | Tesseract trajectory to transform. |
[in] | robot | Robot tesseract_traj belongs to. |
[in] | manip | Name of manipulator. |
[in] | env | KDL environment with the robot (and manipulator) information already loaded. |
[out] | trajectory | Robot trajectory corresponding to tesseract_traj. |
Definition at line 215 of file conversions.cpp.
void robowflex::hypercube::robotStateToManipState | ( | const robot_state::RobotStatePtr & | robot_state, |
const std::vector< std::string > & | manip_joint_names, | ||
std::vector< double > & | manip_joint_values | ||
) |
Transform a robot_state to a vector representing joint values for the manipulator (in the order given by manip_joint_names).
[in] | robot_state | Robot state to be transformed. |
[in] | manip_joint_names | Joint names for the manipulator state. |
[out] | manip_joint_values | Manipulator's joint values representing robot_state. |
Definition at line 178 of file conversions.cpp.
void robowflex::hypercube::robotTrajToManipTesseractTraj | ( | const robot_trajectory::RobotTrajectoryPtr & | robot_traj, |
const std::string & | manip, | ||
const tesseract::tesseract_ros::KDLEnvPtr & | env, | ||
tesseract::TrajArray & | trajectory | ||
) |
Transform a robot_trajectory to a tesseract manipulator trajectory.
[in] | robot_traj | Robot Trajectory to transform. |
[in] | manip | Name of manipulator in KDL env. |
[in] | env | KDL environment with the robot (and manipulator) information already loaded. |
[out] | trajectory | Tesseract trajectory array corresponding to robot_trajectory. |
Definition at line 237 of file conversions.cpp.
bool robowflex::hypercube::sceneToTesseractEnv | ( | const robowflex::SceneConstPtr & | scene, |
tesseract::tesseract_ros::KDLEnvPtr | env | ||
) |
Add scene collision objects to a (previously initialized) KDL environment.
[in] | scene | Scene to load. |
[out] | env | KDL environment to add scene objects to. |
Definition at line 17 of file conversions.cpp.