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]

Public Types

using ConstPtr = std::shared_ptr< const ChangeJointPositionLimitsCommand >
 
using Ptr = std::shared_ptr< ChangeJointPositionLimitsCommand >
 
- Public Types inherited from tesseract_environment::Command
using ConstPtr = std::shared_ptr< const Command >
 
using Ptr = std::shared_ptr< 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 (Command &&)=default
 
 Command (CommandType type=CommandType::UNINITIALIZED)
 
 Command (const Command &)=default
 
CommandType getType () const
 
bool operator!= (const Command &rhs) const
 
Commandoperator= (Command &&)=default
 
Commandoperator= (const Command &)=default
 
bool operator== (const Command &rhs) const
 
virtual ~Command ()=default
 

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
 
struct tesseract_common::Serialization
 

Detailed Description

Definition at line 46 of file change_joint_position_limits_command.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 50 of file change_joint_position_limits_command.h.

◆ Ptr

Definition at line 49 of file change_joint_position_limits_command.h.

Constructor & Destructor Documentation

◆ ChangeJointPositionLimitsCommand() [1/3]

tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand ( )

Definition at line 42 of file change_joint_position_limits_command.cpp.

◆ 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

Definition at line 45 of file change_joint_position_limits_command.cpp.

◆ 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

Definition at line 52 of file change_joint_position_limits_command.cpp.

Member Function Documentation

◆ getLimits()

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

Definition at line 59 of file change_joint_position_limits_command.cpp.

◆ operator!=()

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

Definition at line 76 of file change_joint_position_limits_command.cpp.

◆ operator==()

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

Definition at line 64 of file change_joint_position_limits_command.cpp.

◆ serialize()

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

Definition at line 82 of file change_joint_position_limits_command.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 76 of file change_joint_position_limits_command.h.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 77 of file change_joint_position_limits_command.h.

Member Data Documentation

◆ limits_

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

Definition at line 74 of file change_joint_position_limits_command.h.


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


tesseract_environment
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:21