![]() |
Tesseract 0.28.4
|
This holds a state of the scene. More...
#include <scene_state.h>
Public Types | |
| using | Ptr = std::shared_ptr<SceneState> |
| using | ConstPtr = std::shared_ptr<const SceneState> |
| using | UPtr = std::unique_ptr<SceneState> |
| using | ConstUPtr = std::unique_ptr<const SceneState> |
| using | JointValues = std::unordered_map<tesseract::common::JointId, double> |
| Joint ID to double map type. | |
Public Member Functions | |
| Eigen::VectorXd | getJointValues (const std::vector< tesseract::common::JointId > &joint_ids) const |
| tesseract::common::JointIdTransformMap | getFloatingJointValues (const std::vector< tesseract::common::JointId > &joint_ids) const |
| bool | operator== (const SceneState &rhs) const |
| bool | operator!= (const SceneState &rhs) const |
Public Attributes | |
| JointValues | joints |
| The joint values used for calculating the joint and link transforms. | |
| tesseract::common::JointIdTransformMap | floating_joints |
| The floating joint values used for calculating the joint and link transforms. | |
| tesseract::common::LinkIdTransformMap | link_transforms |
| The link transforms in world coordinate system. | |
| tesseract::common::JointIdTransformMap | joint_transforms |
| The joint transforms in world coordinate system. | |
This holds a state of the scene.
It provides a way to look up the location of a link/joint in world coordinates system by link/joint name. It is possible to get the joint transform using the child link transform of the joint, but they are both provided for convenience. Also the joint values used to calculated the link/joint transforms is provided.