Skip to main content

SetupMTCAddCollisionCylinder Class

Append an MTC ModifyPlanningScene stage that adds a cylinder-shaped collision object to the planning scene during MTC task execution. More...

Declaration

class moveit_pro::behaviors::SetupMTCAddCollisionCylinder { ... }

Included Headers

#include <setup_mtc_add_collision_cylinder.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

SetupMTCAddCollisionCylinder (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Public Static Attributes Index

static constexpr autokPortIDTask = "task"
static constexpr autokPortIDObjectId = "object_id"
static constexpr autokPortIDHeight = "height"
static constexpr autokPortIDRadius = "radius"
static constexpr autokPortIDPose = "pose"
static constexpr autokPortIDOverwrite = "overwrite"

Description

Append an MTC ModifyPlanningScene stage that adds a cylinder-shaped collision object to the planning scene during MTC task execution.

MTC stage equivalent of AddCollisionCylinder. The Behavior only appends the stage at Behavior-tick time; the scene change happens later, when MTC's planner executes the task. By default the stage fails to plan when a world object with the same id already exists in the planned scene; set overwrite to true to replace it instead. That check runs against the MTC pipeline scene, never the live scene.

Data Port NamePort TypeObject Type
taskBidirectionalstd::shared_ptr<moveit_pro::task_constructor::Task>
object_idInputstd::string
heightInputdouble
radiusInputdouble
poseInputgeometry_msgs::msg::PoseStamped
overwriteInputbool

Definition at line 35 of file setup_mtc_add_collision_cylinder.hpp.

Public Constructors

SetupMTCAddCollisionCylinder()

moveit_pro::behaviors::SetupMTCAddCollisionCylinder::SetupMTCAddCollisionCylinder (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources)

Declaration at line 45 of file setup_mtc_add_collision_cylinder.hpp, definition at line 36 of file setup_mtc_add_collision_cylinder.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::SetupMTCAddCollisionCylinder::tick ()

Declaration at line 51 of file setup_mtc_add_collision_cylinder.hpp, definition at line 64 of file setup_mtc_add_collision_cylinder.cpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::SetupMTCAddCollisionCylinder::metadata ()
static

Declaration at line 49 of file setup_mtc_add_collision_cylinder.hpp, definition at line 59 of file setup_mtc_add_collision_cylinder.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::SetupMTCAddCollisionCylinder::providedPorts ()
static

Declaration at line 48 of file setup_mtc_add_collision_cylinder.hpp, definition at line 42 of file setup_mtc_add_collision_cylinder.cpp.

Public Static Attributes

kPortIDHeight

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDHeight = "height"
constexpr static

Definition at line 40 of file setup_mtc_add_collision_cylinder.hpp.

kPortIDObjectId

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDObjectId = "object_id"
constexpr static

Definition at line 39 of file setup_mtc_add_collision_cylinder.hpp.

kPortIDOverwrite

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDOverwrite = "overwrite"
constexpr static

Definition at line 43 of file setup_mtc_add_collision_cylinder.hpp.

kPortIDPose

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDPose = "pose"
constexpr static

Definition at line 42 of file setup_mtc_add_collision_cylinder.hpp.

kPortIDRadius

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDRadius = "radius"
constexpr static

Definition at line 41 of file setup_mtc_add_collision_cylinder.hpp.

kPortIDTask

constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionCylinder::kPortIDTask = "task"
constexpr static

Definition at line 38 of file setup_mtc_add_collision_cylinder.hpp.


The documentation for this class was generated from the following files:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.