65 planningSceneInterface->removeCollisionObjects(
70 RCLCPP_INFO(
getLogger(),
"[CbDetachObject] Detach succeeded");
75 RCLCPP_ERROR(
getLogger(),
"[CbDetachObject] Detach failed");
81 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::optional< std::string > currentAttachedObjectName
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > moveGroupClientInterface
std::shared_ptr< moveit::planning_interface::PlanningSceneInterface > planningSceneInterface
virtual rclcpp::Logger getLogger() const
void requiresComponent(SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT)