SetupMTCAddCollisionSphere Class
Append an MTC ModifyPlanningScene stage that adds a sphere-shaped collision object to the planning scene during MTC task execution. More...
Declaration
class moveit_pro::behaviors::SetupMTCAddCollisionSphere { ... }
#include <setup_mtc_add_collision_sphere.hpp>
Base class
Public Constructors Index
| SetupMTCAddCollisionSphere (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 sphere-shaped collision object to the planning scene during MTC task execution.
MTC stage equivalent of AddCollisionSphere. 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 Name | Port Type | Object Type |
|---|
| task | Bidirectional | std::shared_ptr<moveit_pro::task_constructor::Task> |
| object_id | Input | std::string |
| radius | Input | double |
| pose | Input | geometry_msgs::msg::PoseStamped |
| overwrite | Input | bool |
Definition at line 34 of file setup_mtc_add_collision_sphere.hpp.
Public Constructors
SetupMTCAddCollisionSphere()
| moveit_pro::behaviors::SetupMTCAddCollisionSphere::SetupMTCAddCollisionSphere (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources) |
|
Public Member Functions
tick()
| BT::NodeStatus moveit_pro::behaviors::SetupMTCAddCollisionSphere::tick () |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::SetupMTCAddCollisionSphere::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::SetupMTCAddCollisionSphere::providedPorts () |
|
static
|
Public Static Attributes
kPortIDObjectId
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionSphere::kPortIDObjectId = "object_id" |
|
constexpr
static
|
kPortIDOverwrite
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionSphere::kPortIDOverwrite = "overwrite" |
|
constexpr
static
|
kPortIDPose
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionSphere::kPortIDPose = "pose" |
|
constexpr
static
|
kPortIDRadius
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionSphere::kPortIDRadius = "radius" |
|
constexpr
static
|
kPortIDTask
| constexpr auto moveit_pro::behaviors::SetupMTCAddCollisionSphere::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.