SetupMTCAddCollisionBox Class
Append an MTC ModifyPlanningScene stage that adds a box-shaped collision object to the planning scene during MTC task execution. More...
Declaration
class moveit_pro::behaviors::SetupMTCAddCollisionBox { ... }
#include <setup_mtc_add_collision_box.hpp>
Base class
Public Constructors Index
| SetupMTCAddCollisionBox (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
|
|
|
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
|
|
Public Static Functions Index
Public Static Attributes Index
Description
Append an MTC ModifyPlanningScene stage that adds a box-shaped collision object to the planning scene during MTC task execution.
MTC stage equivalent of AddCollisionBox. The Behavior runs at Behavior-tick time and only appends the stage; the actual scene change happens later, when MTC's planner executes the task. There is no planning_scene port: MTC stages do not have access to a runtime scene at construction time, so the only sink is 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 Name | Port Type | Object Type |
|---|
| task | Bidirectional | std::shared_ptr<moveit_pro::task_constructor::Task> |
| object_id | Input | std::string |
| dimensions | Input | std::vector<double> |
| pose | Input | geometry_msgs::msg::PoseStamped |
| overwrite | Input | bool |
Definition at line 35 of file setup_mtc_add_collision_box.hpp.
Public Constructors
SetupMTCAddCollisionBox()
| moveit_pro::behaviors::SetupMTCAddCollisionBox::SetupMTCAddCollisionBox (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources) |
|
Public Member Functions
tick()
| BT::NodeStatus moveit_pro::behaviors::SetupMTCAddCollisionBox::tick () |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::SetupMTCAddCollisionBox::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::SetupMTCAddCollisionBox::providedPorts () |
|
static
|
Public Static Attributes
kPortIDDimensions
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionBox::kPortIDDimensions = "dimensions" |
|
constexpr
static
|
kPortIDObjectId
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionBox::kPortIDObjectId = "object_id" |
|
constexpr
static
|
kPortIDOverwrite
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionBox::kPortIDOverwrite = "overwrite" |
|
constexpr
static
|
kPortIDPose
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionBox::kPortIDPose = "pose" |
|
constexpr
static
|
kPortIDTask
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionBox::kPortIDTask = "task" |
|
constexpr
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.