SMACC2
|
#include <cb_attach_object.hpp>
Public Attributes | |
std::string | targetObjectName_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::SmaccAsyncClientBehavior | |
void | postSuccessEvent () |
void | postFailureEvent () |
virtual void | dispose () override |
bool | isShutdownRequested () |
onEntry is executed in a new thread. However the current state cannot be left until the onEntry thread finishes. This flag can be checked from the onEntry thread to force finishing the thread. | |
Protected Member Functions inherited from smacc2::ISmaccClientBehavior | |
virtual void | runtimeConfigure () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
ISmaccState * | getCurrentState () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 28 of file cb_attach_object.hpp.
cl_moveit2z::CbAttachObject::CbAttachObject | ( | std::string | targetObjectName | ) |
Definition at line 26 of file cb_attach_object.cpp.
cl_moveit2z::CbAttachObject::CbAttachObject | ( | ) |
Definition at line 30 of file cb_attach_object.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 32 of file cb_attach_object.cpp.
References cl_moveit2z::CpGraspingComponent::currentAttachedObjectName, cl_moveit2z::CpGraspingComponent::fingerTipNames, cl_moveit2z::CpGraspingComponent::getGraspingObject(), smacc2::ISmaccClientBehavior::getLogger(), smacc2::ISmaccClientBehavior::getName(), smacc2::ISmaccClientBehavior::getNode(), cl_moveit2z::CpGraspingComponent::gripperLink_, cl_moveit2z::ClMoveit2z::moveGroupClientInterface, cl_moveit2z::ClMoveit2z::planningSceneInterface, smacc2::SmaccAsyncClientBehavior::postFailureEvent(), smacc2::SmaccAsyncClientBehavior::postSuccessEvent(), smacc2::ISmaccClientBehavior::requiresClient(), smacc2::ISmaccClientBehavior::requiresComponent(), and targetObjectName_.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 71 of file cb_attach_object.cpp.
std::string cl_moveit2z::CbAttachObject::targetObjectName_ |
Definition at line 39 of file cb_attach_object.hpp.
Referenced by onEntry().