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

Public Types

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

Public Member Functions

 ReplaceJointCommand (const tesseract::scene_graph::Joint &joint)
 Replace a joint in the environment.
const std::shared_ptr< const tesseract::scene_graph::Joint > & getJoint () const
bool operator== (const ReplaceJointCommand &rhs) const
bool operator!= (const ReplaceJointCommand &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, ReplaceJointCommand &obj)

Constructor & Destructor Documentation

◆ ReplaceJointCommand()

tesseract::environment::ReplaceJointCommand::ReplaceJointCommand ( const tesseract::scene_graph::Joint & joint)

Replace a joint in the environment.

If the joint does not exist:

   This command should result in an error

If the child link is not the same:

   This command should result in an error
Parameters
jointThe joint to be replaced
Todo
check limits