Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::environment::ChangeJointOriginCommand Class Reference
Inheritance diagram for tesseract::environment::ChangeJointOriginCommand:

Public Types

using Ptr = std::shared_ptr<ChangeJointOriginCommand>
using ConstPtr = std::shared_ptr<const ChangeJointOriginCommand>
Public Types inherited from tesseract::environment::Command
using Ptr = std::shared_ptr<Command>
using ConstPtr = std::shared_ptr<const Command>

Public Member Functions

 ChangeJointOriginCommand (common::JointId joint_id, const Eigen::Isometry3d &origin)
 Changes the origin associated with the joint.
const common::JointId & getJointId () const
const Eigen::Isometry3d & getOrigin () const
bool operator== (const ChangeJointOriginCommand &rhs) const
bool operator!= (const ChangeJointOriginCommand &rhs) const
Public Member Functions inherited from tesseract::environment::Command
 Command (CommandType type=CommandType::UNINITIALIZED)
 Command (const Command &)=default
Command & operator= (const Command &)=default
 Command (Command &&)=default
Command & operator= (Command &&)=default
CommandType getType () const
bool operator== (const Command &rhs) const
bool operator!= (const Command &rhs) const

Friends

template<class Archive>
friend void::tesseract::environment::serialize (Archive &ar, ChangeJointOriginCommand &obj)

Constructor & Destructor Documentation

◆ ChangeJointOriginCommand()

tesseract::environment::ChangeJointOriginCommand::ChangeJointOriginCommand ( common::JointId joint_id,
const Eigen::Isometry3d & origin )

Changes the origin associated with the joint.

Note: This is the origin as in the "origin" tag in the URDF. This is the location of the joint in the frame of the parent link.

Parameters
joint_idId of the joint to be updated
new_originNew transform to be set as the origin