3 #ifndef ROBOWFLEX_TESSERACT_CONVERSIONS_
4 #define ROBOWFLEX_TESSERACT_CONVERSIONS_
9 #include <tesseract_ros/kdl/kdl_env.h>
26 tesseract::tesseract_ros::KDLEnvPtr env);
34 tesseract::tesseract_ros::KDLEnvPtr env);
54 const std::string &manip,
const tesseract::tesseract_ros::KDLEnvPtr &env,
55 robot_state::RobotStatePtr robot_state);
65 const robot_state::RobotStatePtr &ref_state,
67 const tesseract::tesseract_ros::KDLEnvPtr &env,
68 robot_trajectory::RobotTrajectoryPtr
trajectory);
78 const tesseract::tesseract_ros::KDLEnvPtr &env,
#define ROBOWFLEX_CLASS_FORWARD(C)
Macro that forward declares a class and defines two shared ptrs types:
A const shared pointer wrapper for robowflex::Scene.
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 ta...
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.
bool sceneToTesseractEnv(const robowflex::SceneConstPtr &scene, tesseract::tesseract_ros::KDLEnvPtr env)
Add scene collision objects to a (previously initialized) KDL environment.
bool addAttachedBodiesToTesseractEnv(const robot_state::RobotStatePtr &state, tesseract::tesseract_ros::KDLEnvPtr env)
Add bodies attached to the robot scratch state to the KDL environment.
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.
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...
Main namespace. Contains all library classes and functions.
Functions for loading and animating scenes in Blender.
robot_trajectory::RobotTrajectory trajectory(rmodel,"right_arm")