Go to the documentation of this file.
30 #ifndef TESSERACT_SCENE_GRAPH_SCENE_STATE_H
31 #define TESSERACT_SCENE_GRAPH_SCENE_STATE_H
35 #include <boost/serialization/export.hpp>
37 #include <unordered_map>
62 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
65 using Ptr = std::shared_ptr<SceneState>;
66 using ConstPtr = std::shared_ptr<const SceneState>;
67 using UPtr = std::unique_ptr<SceneState>;
68 using ConstUPtr = std::unique_ptr<const SceneState>;
71 std::unordered_map<std::string, double>
joints;
82 Eigen::VectorXd
getJointValues(
const std::vector<std::string>& joint_names)
const;
92 template <
class Archive>
93 void serialize(Archive& ar,
const unsigned int version);
98 #endif // TESSERACT_SCENE_GRAPH_SCENE_STATE_H
tesseract_common::TransformMap floating_joints
The floating joint values used for calculating the joint and link transforms.
std::shared_ptr< const SceneState > ConstPtr
std::unique_ptr< const SceneState > ConstUPtr
AlignedMap< std::string, Eigen::Isometry3d > TransformMap
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
This holds a state of the scene.
std::shared_ptr< SceneState > Ptr
void serialize(Archive &ar, const unsigned int version)
tesseract_common::TransformMap getFloatingJointValues(const std::vector< std::string > &joint_names) const
std::unordered_map< std::string, double > joints
The joint values used for calculating the joint and link transforms.
bool operator==(const SceneState &rhs) const
std::unique_ptr< SceneState > UPtr
bool operator!=(const SceneState &rhs) const
friend class boost::serialization::access
tesseract_common::TransformMap joint_transforms
The joint transforms in world coordinate system.
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
Eigen::VectorXd getJointValues(const std::vector< std::string > &joint_names) const
tesseract_common::TransformMap link_transforms
The link transforms in world coordinate system.