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

Public Types

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

Public Member Functions

 ChangeJointVelocityLimitsCommand (common::JointId joint_id, double limit)
 Changes the velocity limits associated with a joint.
 ChangeJointVelocityLimitsCommand (std::unordered_map< common::JointId, double > limits)
 Changes the velocity limits associated with a joint.
const std::unordered_map< common::JointId, double > & getLimits () const
bool operator== (const ChangeJointVelocityLimitsCommand &rhs) const
bool operator!= (const ChangeJointVelocityLimitsCommand &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, ChangeJointVelocityLimitsCommand &obj)

Constructor & Destructor Documentation

◆ ChangeJointVelocityLimitsCommand() [1/2]

tesseract::environment::ChangeJointVelocityLimitsCommand::ChangeJointVelocityLimitsCommand ( common::JointId joint_id,
double limit )

Changes the velocity limits associated with a joint.

Parameters
joint_idId of the joint to be updated
limitsNew velocity limits to be set as the joint limits

◆ ChangeJointVelocityLimitsCommand() [2/2]

tesseract::environment::ChangeJointVelocityLimitsCommand::ChangeJointVelocityLimitsCommand ( std::unordered_map< common::JointId, double > limits)

Changes the velocity limits associated with a joint.

Parameters
limitsA map of joint ids to new velocity limits