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

Public Types

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ ChangeJointAccelerationLimitsCommand() [1/2]

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

Changes the acceleration limits associated with a joint.

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

◆ ChangeJointAccelerationLimitsCommand() [2/2]

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

Changes the acceleration limits associated with a joint.

Parameters
limitsA map of joint ids to new acceleration limits