Skip to main content

AttachOrDetachStageRequest Struct

Parameters describing the attach or detach action for appendAttachOrDetachStage. More...

Declaration

struct moveit_pro::behaviors::AttachOrDetachStageRequest { ... }

Included Headers

#include <mtc_stage_helpers.hpp>

Public Member Attributes Index

std::stringobject_id

Id of the object to attach or detach. Must be non-empty. More...

std::stringlink_name

Robot link to attach to / detach from. Must name a link in the task's robot model. More...

boolattach = true

True to attach the object, false to detach it. More...

std::vector< std::string >allowed_collision_links = {}

Robot links permitted to collide with the attached object. Ignored when attach is false. More...

std::optional< geometry_msgs::msg::Transform >relative_transform = std::nullopt

Description

Parameters describing the attach or detach action for appendAttachOrDetachStage.

object_id and link_name are required for both actions. allowed_collision_links and relative_transform apply only when attach is true and are ignored for a detach.

Definition at line 96 of file mtc_stage_helpers.hpp.

Public Member Attributes

allowed_collision_links

std::vector<std::string> moveit_pro::behaviors::AttachOrDetachStageRequest::allowed_collision_links = {}

Robot links permitted to collide with the attached object. Ignored when attach is false.

Definition at line 105 of file mtc_stage_helpers.hpp.

attach

bool moveit_pro::behaviors::AttachOrDetachStageRequest::attach = true

True to attach the object, false to detach it.

Definition at line 103 of file mtc_stage_helpers.hpp.

link_name

std::string moveit_pro::behaviors::AttachOrDetachStageRequest::link_name

Robot link to attach to / detach from. Must name a link in the task's robot model.

Definition at line 101 of file mtc_stage_helpers.hpp.

object_id

std::string moveit_pro::behaviors::AttachOrDetachStageRequest::object_id

Id of the object to attach or detach. Must be non-empty.

Definition at line 99 of file mtc_stage_helpers.hpp.

relative_transform

std::optional<geometry_msgs::msg::Transform> moveit_pro::behaviors::AttachOrDetachStageRequest::relative_transform = std::nullopt

Optional fixed pose (link_T_object) to attach at instead of the object's current pose. Ignored when attach is false.

Definition at line 108 of file mtc_stage_helpers.hpp.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.