Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_environment::ChangeJointOriginCommand Class Reference

#include <change_joint_origin_command.h>

Inheritance diagram for tesseract_environment::ChangeJointOriginCommand:
Inheritance graph
[legend]
Collaboration diagram for tesseract_environment::ChangeJointOriginCommand:
Collaboration graph
[legend]

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 ()
 
 ChangeJointOriginCommand (std::string joint_name, const Eigen::Isometry3d &origin)
 Changes the origin associated with the joint. More...
 
const std::string & getJointName () 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)
 
virtual ~Command ()=default
 
 Command (const Command &)=default
 
Commandoperator= (const Command &)=default
 
 Command (Command &&)=default
 
Commandoperator= (Command &&)=default
 
CommandType getType () const
 
bool operator== (const Command &rhs) const
 
bool operator!= (const Command &rhs) const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::string joint_name_
 
Eigen::Isometry3d origin_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

◆ Ptr

Constructor & Destructor Documentation

◆ ChangeJointOriginCommand() [1/2]

tesseract_environment::ChangeJointOriginCommand::ChangeJointOriginCommand ( )

◆ ChangeJointOriginCommand() [2/2]

tesseract_environment::ChangeJointOriginCommand::ChangeJointOriginCommand ( std::string  joint_name,
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_nameName of the joint to be updated
new_originNew transform to be set as the origin

Member Function Documentation

◆ getJointName()

const std::string & tesseract_environment::ChangeJointOriginCommand::getJointName ( ) const

◆ getOrigin()

const Eigen::Isometry3d & tesseract_environment::ChangeJointOriginCommand::getOrigin ( ) const

◆ operator!=()

bool tesseract_environment::ChangeJointOriginCommand::operator!= ( const ChangeJointOriginCommand rhs) const

◆ operator==()

bool tesseract_environment::ChangeJointOriginCommand::operator== ( const ChangeJointOriginCommand rhs) const

◆ serialize()

template<class Archive >
void tesseract_environment::ChangeJointOriginCommand::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ joint_name_

std::string tesseract_environment::ChangeJointOriginCommand::joint_name_
private

◆ origin_

Eigen::Isometry3d tesseract_environment::ChangeJointOriginCommand::origin_
private

The documentation for this class was generated from the following files: