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::ChangeJointPositionLimitsCommand Class Reference

#include <change_joint_position_limits_command.h>

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

Public Types

using Ptr = std::shared_ptr< ChangeJointPositionLimitsCommand >
 
using ConstPtr = std::shared_ptr< const ChangeJointPositionLimitsCommand >
 
- Public Types inherited from tesseract_environment::Command
using Ptr = std::shared_ptr< Command >
 
using ConstPtr = std::shared_ptr< const Command >
 

Public Member Functions

 ChangeJointPositionLimitsCommand ()
 
 ChangeJointPositionLimitsCommand (std::string joint_name, double lower, double upper)
 Changes the position limits associated with a joint. More...
 
 ChangeJointPositionLimitsCommand (std::unordered_map< std::string, std::pair< double, double > > limits)
 Changes the position limits associated with one or more joints. More...
 
const std::unordered_map< std::string, std::pair< double, double > > & getLimits () const
 
bool operator== (const ChangeJointPositionLimitsCommand &rhs) const
 
bool operator!= (const ChangeJointPositionLimitsCommand &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::unordered_map< std::string, std::pair< double, double > > limits_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

◆ Ptr

Constructor & Destructor Documentation

◆ ChangeJointPositionLimitsCommand() [1/3]

tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand ( )

◆ ChangeJointPositionLimitsCommand() [2/3]

tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand ( std::string  joint_name,
double  lower,
double  upper 
)

Changes the position limits associated with a joint.

Parameters
joint_nameName of the joint to be updated
limitsNew position limits to be set as the joint limits

◆ ChangeJointPositionLimitsCommand() [3/3]

tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand ( std::unordered_map< std::string, std::pair< double, double > >  limits)

Changes the position limits associated with one or more joints.

Parameters
limitsA map of joint names to new position limits. For each limit pair, first is the lower limit second is the upper limit

Member Function Documentation

◆ getLimits()

const std::unordered_map< std::string, std::pair< double, double > > & tesseract_environment::ChangeJointPositionLimitsCommand::getLimits ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ serialize()

template<class Archive >
void tesseract_environment::ChangeJointPositionLimitsCommand::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

◆ limits_

std::unordered_map<std::string, std::pair<double, double> > tesseract_environment::ChangeJointPositionLimitsCommand::limits_
private

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