#include <change_joint_position_limits_command.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const ChangeJointPositionLimitsCommand > |
using | Ptr = std::shared_ptr< ChangeJointPositionLimitsCommand > |
![]() | |
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 |
![]() | |
Command (Command &&)=default | |
Command (CommandType type=CommandType::UNINITIALIZED) | |
Command (const Command &)=default | |
CommandType | getType () const |
bool | operator!= (const Command &rhs) const |
Command & | operator= (Command &&)=default |
Command & | operator= (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 |
Definition at line 46 of file change_joint_position_limits_command.h.
using tesseract_environment::ChangeJointPositionLimitsCommand::ConstPtr = std::shared_ptr<const ChangeJointPositionLimitsCommand> |
Definition at line 50 of file change_joint_position_limits_command.h.
using tesseract_environment::ChangeJointPositionLimitsCommand::Ptr = std::shared_ptr<ChangeJointPositionLimitsCommand> |
Definition at line 49 of file change_joint_position_limits_command.h.
tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand | ( | ) |
Definition at line 42 of file change_joint_position_limits_command.cpp.
tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand | ( | std::string | joint_name, |
double | lower, | ||
double | upper | ||
) |
Changes the position limits associated with a joint.
joint_name | Name of the joint to be updated |
limits | New position limits to be set as the joint limits |
Definition at line 45 of file change_joint_position_limits_command.cpp.
tesseract_environment::ChangeJointPositionLimitsCommand::ChangeJointPositionLimitsCommand | ( | std::unordered_map< std::string, std::pair< double, double >> | limits | ) |
Changes the position limits associated with one or more joints.
limits | A 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.
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.
bool tesseract_environment::ChangeJointPositionLimitsCommand::operator!= | ( | const ChangeJointPositionLimitsCommand & | rhs | ) | const |
Definition at line 76 of file change_joint_position_limits_command.cpp.
bool tesseract_environment::ChangeJointPositionLimitsCommand::operator== | ( | const ChangeJointPositionLimitsCommand & | rhs | ) | const |
Definition at line 64 of file change_joint_position_limits_command.cpp.
|
private |
Definition at line 82 of file change_joint_position_limits_command.cpp.
|
friend |
Definition at line 76 of file change_joint_position_limits_command.h.
|
friend |
Definition at line 77 of file change_joint_position_limits_command.h.
|
private |
Definition at line 74 of file change_joint_position_limits_command.h.