Go to the documentation of this file.
26 #ifndef TESSERACT_STATE_SOLVER_MUTABLE_STATE_SOLVER_H
27 #define TESSERACT_STATE_SOLVER_MUTABLE_STATE_SOLVER_H
39 using Ptr = std::shared_ptr<MutableStateSolver>;
40 using ConstPtr = std::shared_ptr<const MutableStateSolver>;
41 using UPtr = std::unique_ptr<MutableStateSolver>;
42 using ConstUPtr = std::unique_ptr<const MutableStateSolver>;
86 virtual bool removeLink(
const std::string& name) = 0;
100 virtual bool removeJoint(
const std::string& name) = 0;
108 virtual bool moveJoint(
const std::string& name,
const std::string& parent_link) = 0;
116 virtual bool changeJointOrigin(
const std::string& name,
const Eigen::Isometry3d& new_origin) = 0;
162 #endif // TESSERACT_STATE_SOLVER_MUTABLE_STATE_SOLVER_H
Tesseract Scene Graph State Solver Interface.
virtual bool moveLink(const Joint &joint)=0
Move a link.
virtual bool changeJointOrigin(const std::string &name, const Eigen::Isometry3d &new_origin)=0
Changes the "origin" transform of the joint and recomputes the associated edge.
virtual int getRevision() const =0
Get the state solver revision number.
virtual bool removeLink(const std::string &name)=0
Removes a link from the graph.
virtual bool insertSceneGraph(const SceneGraph &scene_graph, const Joint &joint, const std::string &prefix="")=0
Merge a scene into the current solver.
std::unique_ptr< const MutableStateSolver > ConstUPtr
~MutableStateSolver() override=default
virtual bool moveJoint(const std::string &name, const std::string &parent_link)=0
Move joint to new parent link.
virtual bool changeJointAccelerationLimits(const std::string &name, double limit)=0
Changes the acceleration limits associated with a joint.
MutableStateSolver & operator=(const MutableStateSolver &)=default
A mutable state solver allows you to reconfigure the solver's links and joints.
virtual bool addLink(const Link &link, const Joint &joint)=0
Adds a link/joint to the solver.
std::unique_ptr< MutableStateSolver > UPtr
virtual void setRevision(int revision)=0
Set the state solver revision number.
MutableStateSolver()=default
std::shared_ptr< const MutableStateSolver > ConstPtr
virtual bool removeJoint(const std::string &name)=0
Removes a joint from the graph.
std::shared_ptr< MutableStateSolver > Ptr
virtual bool changeJointPositionLimits(const std::string &name, double lower, double upper)=0
Changes the position limits associated with a joint.
virtual bool changeJointVelocityLimits(const std::string &name, double limit)=0
Changes the velocity limits associated with a joint.
virtual bool changeJointJerkLimits(const std::string &name, double limit)=0
Changes the jerk limits associated with a joint.
virtual bool replaceJoint(const Joint &joint)=0
Replace and existing joint with the provided one.