64 planningSceneInterface->removeCollisionObjects(
69 RCLCPP_INFO(
getLogger(),
"[CbDetachObject] Detach succeeded");
74 RCLCPP_ERROR(
getLogger(),
"[CbDetachObject] Detach failed");
80 RCLCPP_ERROR(
getLogger(),
"[CbDetachObject] No object currently attached");
Client behavior that detaches the currently attached collision object.
void onExit() override
Called when the behavior is exited.
void onEntry() override
Called when the behavior is entered.
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > moveGroupClientInterface
std::shared_ptr< moveit::planning_interface::PlanningSceneInterface > planningSceneInterface
std::optional< std::string > currentAttachedObjectName
virtual rclcpp::Logger getLogger() const
void requiresClient(SmaccClientType *&storage)
void requiresComponent(SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT)