4#ifndef AUBO_SDK_GRIPPER_INTERFACE_H
5#define AUBO_SDK_GRIPPER_INTERFACE_H
11namespace common_interface {
41 const std::string &device_name);
59 int gripperAdd(
const std::string &name,
const std::string &model);
80 int gripperRename(
const std::string &name,
const std::string &new_name);
145 const std::vector<double> &pose,
146 bool enable_collision);
double gripperGetVoltage(const std::string &name)
int gripperSetVelocity(const std::string &name, const double velocity)
double gripperGetAngle(const std::string &name)
double gripperGetVelocity(const std::string &name)
std::vector< std::string > gripperGetSupportedModels()
std::string gripperGetSoftwareVersion(const std::string &name)
std::vector< double > gripperGetMountPose(const std::string &name)
获取夹爪安装偏移
double gripperGetTorque(const std::string &name)
int gripperSetWorkMode(const std::string &name, int work_mode)
int gripperEnable(const std::string &name, bool enable)
int gripperResetSlaveId(const std::string &name, const int slave_id)
int gripperSetAngle(const std::string &name, const double angle)
int gripperGetWorkMode(const std::string &name)
virtual ~GripperInterface()
bool gripperGetObjectDetection(const std::string &name)
int gripperStop(const std::string &name)
int gripperSetTorque(const std::string &name, const double torque)
int gripperSetMountPose(const std::string &name, const std::vector< double > &pose, bool enable_collision)
bool gripperIsConnected(const std::string &name)
double gripperGetForce(const std::string &name)
double gripperGetRVelocity(const std::string &name)
int gripperAdd(const std::string &name, const std::string &model)
int gripperMove(const std::string &name)
std::vector< std::string > gripperGetNames()
double gripperGetTemperature(const std::string &name)
int gripperConnect(const std::string &name, const std::string &device_name)
ResultWithErrno2 gripperScanDevices(const std::string &model, const std::string &device_name)
int gripperRename(const std::string &name, const std::string &new_name)
int gripperSetPosition(const std::string &name, const double position)
int gripperSetForce(const std::string &name, const double force)
int gripperSetRVelocity(const std::string &name, const double r_velocity)
std::string gripperGetHardwareVersion(const std::string &name)
int gripperDelete(const std::string &name)
bool gripperIsEnabled(const std::string &name)
bool gripperGetMotionState(const std::string &name)
int gripperDisconnect(const std::string &name)
double gripperGetPosition(const std::string &name)
std::tuple< std::vector< std::string >, int > ResultWithErrno2
std::shared_ptr< GripperInterface > GripperInterfacePtr
Interface for injecting logs into the controller's logging system.