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 |
Definition at line 30 of file cp_grasping_objects.hpp.
void cl_moveit2z::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_moveit2z::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_moveit2z::CbAttachObject::onEntry().
std::optional<std::string> cl_moveit2z::CpGraspingComponent::currentAttachedObjectName |
Definition at line 39 of file cp_grasping_objects.hpp.
Referenced by cl_moveit2z::CbAttachObject::onEntry(), and cl_moveit2z::CbDetachObject::onEntry().
std::vector<std::string> cl_moveit2z::CpGraspingComponent::fingerTipNames |
Definition at line 36 of file cp_grasping_objects.hpp.
Referenced by cl_moveit2z::CbAttachObject::onEntry().
|
private |
Definition at line 33 of file cp_grasping_objects.hpp.
Referenced by createGraspableBox(), and getGraspingObject().
std::string cl_moveit2z::CpGraspingComponent::gripperLink_ = "gripper_link" |
Definition at line 37 of file cp_grasping_objects.hpp.
Referenced by cl_moveit2z::CbAttachObject::onEntry().