moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <virtual_joints.hpp>
Public Member Functions | |
std::string | getName () const override |
Returns the name of the setup step. | |
std::vector< srdf::Model::VirtualJoint > & | getContainer () override |
Returns the reference to the vector in the SRDF. | |
InformationFields | getInfoField () const override |
Returns the info field associated with this part of the SRDF. | |
void | onInit () override |
Overridable initialization method. | |
void | setProperties (srdf::Model::VirtualJoint *vj, const std::string &parent_name, const std::string &child_name, const std::string &joint_type) |
std::vector< std::string > | getLinkNames () const |
Public Member Functions inherited from moveit_setup::srdf_setup::SuperSRDFStep< srdf::Model::VirtualJoint > | |
srdf::Model::VirtualJoint * | find (const std::string &name) |
Return a pointer to an item with the given name if it exists, otherwise null. | |
srdf::Model::VirtualJoint * | create (const std::string &name) |
Create an item with the given name and return the pointer. | |
srdf::Model::VirtualJoint * | rename (const std::string &old_name, const std::string &new_name) |
Renames an item and returns a pointer to the item. | |
bool | remove (const std::string &name) |
Delete an item with the given name from the list. | |
srdf::Model::VirtualJoint * | get (const std::string &name, const std::string &old_name="") |
Get a pointer to an item with the given name, creating if necessary. If old_name is provided (and is different) will rename the given item. | |
Public Member Functions inherited from moveit_setup::srdf_setup::SRDFStep | |
bool | isReady () const override |
Return true if the data necessary to proceed with this step has been configured. | |
bool | hasGroups () const |
Public Member Functions inherited from moveit_setup::SetupStep | |
SetupStep ()=default | |
SetupStep (const SetupStep &)=default | |
SetupStep (SetupStep &&)=default | |
SetupStep & | operator= (const SetupStep &)=default |
SetupStep & | operator= (SetupStep &&)=default |
virtual | ~SetupStep ()=default |
void | initialize (const rclcpp::Node::SharedPtr &parent_node, const DataWarehousePtr &config_data) |
Called after construction to initialize the step. | |
const rclcpp::Logger & | getLogger () const |
Makes a namespaced logger for this step available to the widget. | |
Protected Attributes | |
std::shared_ptr< URDFConfig > | urdf_config_ |
Protected Attributes inherited from moveit_setup::srdf_setup::SRDFStep | |
std::shared_ptr< SRDFConfig > | srdf_config_ |
Protected Attributes inherited from moveit_setup::SetupStep | |
DataWarehousePtr | config_data_ |
rclcpp::Node::SharedPtr | parent_node_ |
std::shared_ptr< rclcpp::Logger > | logger_ |
Definition at line 45 of file virtual_joints.hpp.
|
inlineoverridevirtual |
Returns the reference to the vector in the SRDF.
Implements moveit_setup::srdf_setup::SuperSRDFStep< srdf::Model::VirtualJoint >.
Definition at line 53 of file virtual_joints.hpp.
|
inlineoverridevirtual |
Returns the info field associated with this part of the SRDF.
Implements moveit_setup::srdf_setup::SuperSRDFStep< srdf::Model::VirtualJoint >.
Definition at line 58 of file virtual_joints.hpp.
|
inline |
Definition at line 68 of file virtual_joints.hpp.
|
inlineoverridevirtual |
Returns the name of the setup step.
Implements moveit_setup::SetupStep.
Definition at line 48 of file virtual_joints.hpp.
|
overridevirtual |
Overridable initialization method.
Reimplemented from moveit_setup::srdf_setup::SRDFStep.
Definition at line 43 of file virtual_joints.cpp.
void moveit_setup::srdf_setup::VirtualJoints::setProperties | ( | srdf::Model::VirtualJoint * | vj, |
const std::string & | parent_name, | ||
const std::string & | child_name, | ||
const std::string & | joint_type | ||
) |
Definition at line 49 of file virtual_joints.cpp.
|
protected |
Definition at line 74 of file virtual_joints.hpp.