#include <denso_robot_rc8.h>
|
enum | {
SLVMODE_NONE = 0,
SLVMODE_POSE_P = 0x0001,
SLVMODE_POSE_J = 0x0002,
SLVMODE_POSE_T = 0x0003,
SLVMODE_POSE = 0x000F,
SLVMODE_ASYNC = 0x0100,
SLVMODE_SYNC_WAIT = 0x0200
} |
|
enum | { SENDFMT_NONE = 0,
SENDFMT_HANDIO = 0x0020,
SENDFMT_MINIIO = 0x0100,
SENDFMT_USERIO = 0x0200
} |
|
enum | {
RECVFMT_NONE = 0,
RECVFMT_POSE_P = 0x0001,
RECVFMT_POSE_J = 0x0002,
RECVFMT_POSE_T = 0x0003,
RECVFMT_POSE_PJ = 0x0004,
RECVFMT_POSE_TJ = 0x0005,
RECVFMT_POSE = 0x000F,
RECVFMT_TIME = 0x0010,
RECVFMT_HANDIO = 0x0020,
RECVFMT_CURRENT = 0x0040,
RECVFMT_MINIIO = 0x0100,
RECVFMT_USERIO = 0x0200
} |
|
enum | { TSFMT_MILLISEC = 0,
TSFMT_MICROSEC = 1
} |
|
enum | { SRV_MIN = 0,
SRV_ACT = SRV_MIN,
SRV_WATCH,
SRV_MAX = SRV_WATCH
} |
|
|
| DensoRobotRC8 (DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode) |
|
HRESULT | ExecChange (const std::string &value) |
|
HRESULT | ExecCurJnt (std::vector< double > &pose) |
|
HRESULT | ExecDrive (const std::string &name, const VARIANT_Ptr &option) |
|
HRESULT | ExecGiveArm () |
|
HRESULT | ExecHalt () |
|
HRESULT | ExecMove (int comp, const VARIANT_Ptr &pose, const std::string &option) |
|
HRESULT | ExecSlaveMove (const std::vector< double > &pose, std::vector< double > &joint) |
|
HRESULT | ExecSpeed (float value) |
|
HRESULT | ExecTakeArm () |
|
void | get_Current (std::vector< double > ¤t) const |
|
int | get_HandIO () const |
|
int | get_MiniIO () const |
|
int | get_RecvFormat () const |
|
void | get_RecvUserIO (UserIO &value) const |
|
int | get_SendFormat () const |
|
int | get_TimeFormat () const |
|
int | get_Timestamp () const |
|
void | put_HandIO (int value) |
|
void | put_MiniIO (int value) |
|
void | put_RecvFormat (int format) |
|
void | put_RecvUserIO (const UserIO &value) |
|
void | put_SendFormat (int format) |
|
void | put_SendUserIO (const UserIO &value) |
|
void | put_TimeFormat (int format) |
|
HRESULT | StartService (ros::NodeHandle &node) |
|
HRESULT | StopService () |
|
bool | Update () |
|
| ~DensoRobotRC8 () |
|
HRESULT | AddVariable (const std::string &name) |
|
void | ChangeArmGroup (int number) |
|
| DensoRobot (DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode) |
|
HRESULT | get_Variable (const std::string &name, DensoVariable_Ptr *var) |
|
virtual HRESULT | InitializeBCAP (XMLElement *xmlElem) |
|
virtual | ~DensoRobot () |
|
| DensoBase (const std::string &name, const int *mode) |
|
| DensoBase (DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode) |
|
virtual HRESULT | InitializeBCAP () |
|
const std::string & | Name () const |
|
std::string | RosName () const |
|
virtual HRESULT | TerminateBCAP () |
|
virtual | ~DensoBase () |
|
|
void | Action_Feedback () |
|
void | Callback_Cancel () |
|
void | Callback_Change (const std::string &name, const Int32::ConstPtr &msg) |
|
void | Callback_DriveString (const std::string &name, const DriveStringGoalConstPtr &goal) |
|
void | Callback_DriveValue (const std::string &name, const DriveValueGoalConstPtr &goal) |
|
void | Callback_MoveString (const MoveStringGoalConstPtr &goal) |
|
void | Callback_MoveValue (const MoveValueGoalConstPtr &goal) |
|
void | Callback_Speed (const Float32::ConstPtr &msg) |
|
HRESULT | ChangeMode (int mode) |
|
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 >()) |
|
HRESULT | ExecSlaveMode (const std::string &name, int32_t format, int32_t option=0) |
|
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 std::string | ConvertBSTRToString (const BSTR bstr) |
|
static BSTR | ConvertStringToBSTR (const std::string &str) |
|
virtual HRESULT | AddVariable (XMLElement *xmlElem) |
|
void | Callback_ArmGroup (const Int32::ConstPtr &msg) |
|
HRESULT | CreateExJoints (const ExJoints &exjoints, VARIANT &vnt) |
|
HRESULT | CreatePoseData (const PoseData &pose, VARIANT &vnt) |
|
HRESULT | AddObject (int32_t get_id, const std::string &name, Handle_Vec &vecHandle) |
|
HRESULT | AddVariable (int32_t get_id, const std::string &name, std::vector< boost::shared_ptr< class DensoVariable > > &vecVar, int16_t vt=VT_EMPTY, bool bRead=false, bool bWrite=false, bool bID=false, int iDuration=BCAP_VAR_DEFAULT_DURATION) |
|
HRESULT | AddVariable (int32_t get_id, const XMLElement *xmlVar, std::vector< boost::shared_ptr< class DensoVariable > > &vecVar) |
|
HRESULT | get_Object (const std::vector< boost::shared_ptr< DensoBase > > &vecBase, int index, boost::shared_ptr< DensoBase > *obj) |
|
HRESULT | get_Object (const std::vector< boost::shared_ptr< DensoBase > > &vecBase, const std::string &name, boost::shared_ptr< DensoBase > *obj) |
|
HRESULT | GetObjectNames (int32_t func_id, Name_Vec &vecName) |
|
int32_t | m_ArmGroup |
|
ros::Subscriber | m_subArmGroup |
|
DensoVariable_Vec | m_vecVar |
|
const int * | m_mode |
|
boost::mutex | m_mtxSrv |
|
std::string | m_name |
|
DensoBase * | m_parent |
|
bool | m_serving |
|
Handle_Vec | m_vecHandle |
|
Service_Vec | m_vecService |
|
Definition at line 36 of file denso_robot_rc8.h.
Enumerator |
---|
SLVMODE_NONE |
|
SLVMODE_POSE_P |
|
SLVMODE_POSE_J |
|
SLVMODE_POSE_T |
|
SLVMODE_POSE |
|
SLVMODE_ASYNC |
|
SLVMODE_SYNC_WAIT |
|
Definition at line 41 of file denso_robot_rc8.h.
Enumerator |
---|
SENDFMT_NONE |
|
SENDFMT_HANDIO |
|
SENDFMT_MINIIO |
|
SENDFMT_USERIO |
|
Definition at line 51 of file denso_robot_rc8.h.
Enumerator |
---|
RECVFMT_NONE |
|
RECVFMT_POSE_P |
|
RECVFMT_POSE_J |
|
RECVFMT_POSE_T |
|
RECVFMT_POSE_PJ |
|
RECVFMT_POSE_TJ |
|
RECVFMT_POSE |
|
RECVFMT_TIME |
|
RECVFMT_HANDIO |
|
RECVFMT_CURRENT |
|
RECVFMT_MINIIO |
|
RECVFMT_USERIO |
|
Definition at line 58 of file denso_robot_rc8.h.
denso_robot_core::DensoRobotRC8::DensoRobotRC8 |
( |
DensoBase * |
parent, |
|
|
Service_Vec & |
service, |
|
|
Handle_Vec & |
handle, |
|
|
const std::string & |
name, |
|
|
const int * |
mode |
|
) |
| |
denso_robot_core::DensoRobotRC8::~DensoRobotRC8 |
( |
| ) |
|
void denso_robot_core::DensoRobotRC8::Action_Feedback |
( |
| ) |
|
|
private |
void denso_robot_core::DensoRobotRC8::Callback_Cancel |
( |
| ) |
|
|
private |
void denso_robot_core::DensoRobotRC8::Callback_Change |
( |
const std::string & |
name, |
|
|
const Int32::ConstPtr & |
msg |
|
) |
| |
|
private |
void denso_robot_core::DensoRobotRC8::Callback_DriveString |
( |
const std::string & |
name, |
|
|
const DriveStringGoalConstPtr & |
goal |
|
) |
| |
|
private |
void denso_robot_core::DensoRobotRC8::Callback_DriveValue |
( |
const std::string & |
name, |
|
|
const DriveValueGoalConstPtr & |
goal |
|
) |
| |
|
private |
void denso_robot_core::DensoRobotRC8::Callback_MoveString |
( |
const MoveStringGoalConstPtr & |
goal | ) |
|
|
private |
void denso_robot_core::DensoRobotRC8::Callback_MoveValue |
( |
const MoveValueGoalConstPtr & |
goal | ) |
|
|
private |
void denso_robot_core::DensoRobotRC8::Callback_Speed |
( |
const Float32::ConstPtr & |
msg | ) |
|
|
private |
HRESULT denso_robot_core::DensoRobotRC8::ChangeMode |
( |
int |
mode | ) |
|
|
private |
HRESULT denso_robot_core::DensoRobotRC8::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>() |
|
) |
| |
|
private |
HRESULT denso_robot_core::DensoRobotRC8::ExecChange |
( |
const std::string & |
value | ) |
|
HRESULT denso_robot_core::DensoRobotRC8::ExecCurJnt |
( |
std::vector< double > & |
pose | ) |
|
HRESULT denso_robot_core::DensoRobotRC8::ExecDrive |
( |
const std::string & |
name, |
|
|
const VARIANT_Ptr & |
option |
|
) |
| |
HRESULT denso_robot_core::DensoRobotRC8::ExecGiveArm |
( |
| ) |
|
|
virtual |
HRESULT denso_robot_core::DensoRobotRC8::ExecHalt |
( |
| ) |
|
HRESULT denso_robot_core::DensoRobotRC8::ExecMove |
( |
int |
comp, |
|
|
const VARIANT_Ptr & |
pose, |
|
|
const std::string & |
option |
|
) |
| |
HRESULT denso_robot_core::DensoRobotRC8::ExecSlaveMode |
( |
const std::string & |
name, |
|
|
int32_t |
format, |
|
|
int32_t |
option = 0 |
|
) |
| |
|
private |
HRESULT denso_robot_core::DensoRobotRC8::ExecSlaveMove |
( |
const std::vector< double > & |
pose, |
|
|
std::vector< double > & |
joint |
|
) |
| |
HRESULT denso_robot_core::DensoRobotRC8::ExecSpeed |
( |
float |
value | ) |
|
HRESULT denso_robot_core::DensoRobotRC8::ExecTakeArm |
( |
| ) |
|
|
virtual |
void denso_robot_core::DensoRobotRC8::get_Current |
( |
std::vector< double > & |
current | ) |
const |
int denso_robot_core::DensoRobotRC8::get_HandIO |
( |
| ) |
const |
int denso_robot_core::DensoRobotRC8::get_MiniIO |
( |
| ) |
const |
int denso_robot_core::DensoRobotRC8::get_RecvFormat |
( |
| ) |
const |
void denso_robot_core::DensoRobotRC8::get_RecvUserIO |
( |
UserIO & |
value | ) |
const |
int denso_robot_core::DensoRobotRC8::get_SendFormat |
( |
| ) |
const |
int denso_robot_core::DensoRobotRC8::get_TimeFormat |
( |
| ) |
const |
int denso_robot_core::DensoRobotRC8::get_Timestamp |
( |
| ) |
const |
HRESULT denso_robot_core::DensoRobotRC8::ParseRecvParameter |
( |
const VARIANT_Ptr & |
recv, |
|
|
std::vector< double > & |
position, |
|
|
std::vector< double > & |
joint, |
|
|
std::vector< double > & |
trans, |
|
|
int & |
miniio, |
|
|
int & |
handio, |
|
|
int & |
timestamp, |
|
|
std::vector< uint8_t > & |
recv_userio, |
|
|
std::vector< double > & |
current |
|
) |
| |
|
private |
void denso_robot_core::DensoRobotRC8::put_HandIO |
( |
int |
value | ) |
|
void denso_robot_core::DensoRobotRC8::put_MiniIO |
( |
int |
value | ) |
|
void denso_robot_core::DensoRobotRC8::put_RecvFormat |
( |
int |
format | ) |
|
void denso_robot_core::DensoRobotRC8::put_RecvUserIO |
( |
const UserIO & |
value | ) |
|
void denso_robot_core::DensoRobotRC8::put_SendFormat |
( |
int |
format | ) |
|
void denso_robot_core::DensoRobotRC8::put_SendUserIO |
( |
const UserIO & |
value | ) |
|
void denso_robot_core::DensoRobotRC8::put_TimeFormat |
( |
int |
format | ) |
|
HRESULT denso_robot_core::DensoRobotRC8::StopService |
( |
| ) |
|
|
virtual |
bool denso_robot_core::DensoRobotRC8::Update |
( |
| ) |
|
|
virtual |
int denso_robot_core::DensoRobotRC8::m_curAct |
|
private |
std::vector<double> denso_robot_core::DensoRobotRC8::m_current |
|
private |
std::vector<double> denso_robot_core::DensoRobotRC8::m_joint |
|
private |
unsigned int denso_robot_core::DensoRobotRC8::m_memRetry |
|
private |
uint32_t denso_robot_core::DensoRobotRC8::m_memTimeout |
|
private |
boost::mutex denso_robot_core::DensoRobotRC8::m_mtxAct |
|
private |
std::vector<double> denso_robot_core::DensoRobotRC8::m_position |
|
private |
int denso_robot_core::DensoRobotRC8::m_recv_handio |
|
private |
int denso_robot_core::DensoRobotRC8::m_recv_miniio |
|
private |
std::vector<uint8_t> denso_robot_core::DensoRobotRC8::m_recv_userio |
|
private |
int denso_robot_core::DensoRobotRC8::m_recv_userio_offset |
|
private |
int denso_robot_core::DensoRobotRC8::m_recv_userio_size |
|
private |
int denso_robot_core::DensoRobotRC8::m_recvfmt |
|
private |
int denso_robot_core::DensoRobotRC8::m_send_handio |
|
private |
int denso_robot_core::DensoRobotRC8::m_send_miniio |
|
private |
std::vector<uint8_t> denso_robot_core::DensoRobotRC8::m_send_userio |
|
private |
int denso_robot_core::DensoRobotRC8::m_send_userio_offset |
|
private |
int denso_robot_core::DensoRobotRC8::m_send_userio_size |
|
private |
int denso_robot_core::DensoRobotRC8::m_sendfmt |
|
private |
int denso_robot_core::DensoRobotRC8::m_timestamp |
|
private |
std::vector<double> denso_robot_core::DensoRobotRC8::m_trans |
|
private |
int denso_robot_core::DensoRobotRC8::m_tsfmt |
|
private |
The documentation for this class was generated from the following files: