150 void get_Current(std::vector<double>& current)
const;
170 const int handio = 0,
const int recv_userio_offset = 0,
const int recv_userio_size = 0,
171 const int send_userio_offset = 0,
const int send_userio_size = 0,
172 const std::vector<uint8_t>& send_userio = std::vector<uint8_t>());
175 std::vector<double>& trans,
int& miniio,
int& handio,
int& timestamp,
176 std::vector<uint8_t>& recv_userio, std::vector<double>& current);
184 void Callback_Change(
const std::string& name,
const Int32::ConstPtr& msg);
226 #endif // DENSO_ROBOT_H
HRESULT ExecSpeed(float value)
void ChangeArmGroup(int number)
static constexpr HRESULT S_BUF_FULL
static constexpr const char * NAME_ARMGROUP
void put_HandIO(unsigned int value)
virtual HRESULT InitializeBCAP()
HRESULT ExecDrive(const std::string &name, const VARIANT_Ptr &option)
void put_RecvFormat(int format)
std::vector< DensoRobot_Ptr > DensoRobot_Vec
void get_RecvUserIO(UserIO &value) const
std::vector< double > m_current
static constexpr const char * NAME_DRIVEAEXSTRING
int get_SendFormat() const
HRESULT ExecMove(int comp, const VARIANT_Ptr &pose, const std::string &option)
HRESULT ExecSlaveMove(const std::vector< double > &pose, std::vector< double > &joint)
HRESULT AddVariable(const std::string &name)
boost::shared_ptr< SimpleActionServer< DriveStringAction > > m_actDriveExString
HRESULT ExecSlaveMode(const std::string &name, int32_t format, int32_t option=0)
DensoRobot(DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode)
ros::Subscriber m_subChangeWork
void Callback_ArmGroup(const Int32::ConstPtr &msg)
ros::Subscriber m_subSpeed
ros::Subscriber m_subArmGroup
unsigned int get_MiniIO() const
std::vector< uint32_t > Handle_Vec
int get_TimeFormat() const
void Callback_MoveValue(const MoveValueGoalConstPtr &goal)
void Callback_MoveString(const MoveStringGoalConstPtr &goal)
std::vector< double > m_joint
boost::shared_ptr< SimpleActionServer< MoveStringAction > > m_actMoveString
int get_RecvFormat() const
static constexpr const char * NAME_DRIVEAEXVALUE
static constexpr const char * NAME_CHANGETOOL
HRESULT CreateSendParameter(const std::vector< double > &pose, VARIANT_Ptr &send, const int miniio=0, const int handio=0, const int recv_userio_offset=0, const int recv_userio_size=0, const int send_userio_offset=0, const int send_userio_size=0, const std::vector< uint8_t > &send_userio=std::vector< uint8_t >())
static constexpr const char * NAME_DRIVEEXSTRING
void put_SendUserIO(const UserIO &value)
static constexpr const char * NAME_MOVESTRING
std::vector< uint8_t > m_send_userio
ros::Subscriber m_subChangeTool
std::vector< BCAPService_Ptr > Service_Vec
void put_RecvUserIO(const UserIO &value)
static constexpr int BCAP_ROBOT_SPEED_ARGS
static constexpr HRESULT E_BUF_FULL
boost::shared_ptr< DensoRobot > DensoRobot_Ptr
static constexpr const char * NAME_DRIVEEXVALUE
static constexpr const char * NAME_CHANGEWORK
unsigned int get_HandIO() const
std::vector< DensoVariable_Ptr > DensoVariable_Vec
void Callback_Speed(const Float32::ConstPtr &msg)
int get_Timestamp() const
static constexpr int BCAP_ROBOT_HALT_ARGS
boost::interprocess::unique_ptr< VARIANT, variant_deleter > VARIANT_Ptr
HRESULT ExecChange(const std::string &value)
static constexpr int BCAP_ROBOT_MOVE_ARGS
void set_SendFormat(int format)
DensoVariable_Vec m_vecVar
static constexpr const char * NAME_SPEED
HRESULT CreateExJoints(const ExJoints &exjoints, VARIANT &vnt)
void put_SendFormat(int format)
void get_Current(std::vector< double > ¤t) const
static constexpr int BCAP_ROBOT_EXECUTE_ARGS
void Callback_Change(const std::string &name, const Int32::ConstPtr &msg)
virtual HRESULT ChangeMode(int mode)
HRESULT get_Variable(const std::string &name, DensoVariable_Ptr *var)
void put_TimeFormat(int format)
boost::shared_ptr< SimpleActionServer< DriveStringAction > > m_actDriveAExString
std::vector< double > m_position
boost::shared_ptr< SimpleActionServer< DriveValueAction > > m_actDriveExValue
void put_MiniIO(unsigned int value)
void set_RecvFormat(int format)
void Callback_DriveValue(const std::string &name, const DriveValueGoalConstPtr &goal)
HRESULT ParseRecvParameter(const VARIANT_Ptr &recv, std::vector< double > &position, std::vector< double > &joint, std::vector< double > &trans, int &miniio, int &handio, int ×tamp, std::vector< uint8_t > &recv_userio, std::vector< double > ¤t)
static constexpr const char * XML_ROBOT_NAME
std::vector< double > m_trans
void Callback_DriveString(const std::string &name, const DriveStringGoalConstPtr &goal)
HRESULT StartService(ros::NodeHandle &node)
boost::shared_ptr< SimpleActionServer< DriveValueAction > > m_actDriveAExValue
static constexpr int BCAP_ROBOT_CHANGE_ARGS
static constexpr const char * NAME_MOVEVALUE
HRESULT CreatePoseData(const PoseData &pose, VARIANT &vnt)
boost::shared_ptr< SimpleActionServer< MoveValueAction > > m_actMoveValue
std::vector< uint8_t > m_recv_userio
HRESULT ExecCurJnt(std::vector< double > &pose)