SMACC2
|
#include <cp_grasping_objects.hpp>
Public Member Functions | |
bool | getGraspingObject (std::string name, moveit_msgs::msg::CollisionObject &object) |
void | createGraspableBox (std::string frameid, float x, float y, float z, float xl, float yl, float zl) |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Public Attributes | |
std::vector< std::string > | fingerTipNames |
std::string | gripperLink_ = "gripper_link" |
std::optional< std::string > | currentAttachedObjectName |
Private Attributes | |
std::map< std::string, moveit_msgs::msg::CollisionObject > | graspingObjects |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccComponent | |
virtual void | onInitialize () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename TComponent > | |
void | requiresComponent (TComponent *&requiredComponentStorage) |
template<typename TClient > | |
void | requiresClient (TClient *&requiredClientStorage) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createSiblingNamedComponent (std::string name, TArgs... targs) |
rclcpp::Node::SharedPtr | getNode () |
rclcpp::Logger | getLogger () |
ISmaccStateMachine * | getStateMachine () |
Protected Attributes inherited from smacc2::ISmaccComponent | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Definition at line 30 of file cp_grasping_objects.hpp.
void cl_move_group_interface::CpGraspingComponent::createGraspableBox | ( | std::string | frameid, |
float | x, | ||
float | y, | ||
float | z, | ||
float | xl, | ||
float | yl, | ||
float | zl | ||
) |
Definition at line 39 of file cp_grasping_objects.cpp.
References smacc2::ISmaccComponent::getLogger(), smacc2::ISmaccComponent::getName(), and graspingObjects.
bool cl_move_group_interface::CpGraspingComponent::getGraspingObject | ( | std::string | name, |
moveit_msgs::msg::CollisionObject & | object | ||
) |
Definition at line 25 of file cp_grasping_objects.cpp.
References graspingObjects.
Referenced by cl_move_group_interface::CbAttachObject::onEntry().
std::optional<std::string> cl_move_group_interface::CpGraspingComponent::currentAttachedObjectName |
Definition at line 39 of file cp_grasping_objects.hpp.
Referenced by cl_move_group_interface::CbAttachObject::onEntry(), and cl_move_group_interface::CbDetachObject::onEntry().
std::vector<std::string> cl_move_group_interface::CpGraspingComponent::fingerTipNames |
Definition at line 36 of file cp_grasping_objects.hpp.
Referenced by cl_move_group_interface::CbAttachObject::onEntry().
|
private |
Definition at line 33 of file cp_grasping_objects.hpp.
Referenced by createGraspableBox(), and getGraspingObject().
std::string cl_move_group_interface::CpGraspingComponent::gripperLink_ = "gripper_link" |
Definition at line 37 of file cp_grasping_objects.hpp.
Referenced by cl_move_group_interface::CbAttachObject::onEntry().