DETI-Dynamixel Interface
1
|
00001 #ifndef _DYNAMIXEL_HAL_HEADER 00002 #define _DYNAMIXEL_HAL_HEADER 00003 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif 00008 00009 00010 int dxl_hal_open(int deviceIndex, float baudrate); 00011 void dxl_hal_close(); 00012 int dxl_hal_set_baud( float baudrate ); 00013 void dxl_hal_clear(); 00014 int dxl_hal_tx( unsigned char *pPacket, int numPacket ); 00015 int dxl_hal_rx( unsigned char *pPacket, int numPacket ); 00016 void dxl_hal_set_timeout( int NumRcvByte ); 00017 int dxl_hal_timeout(); 00018 00019 00020 00021 #ifdef __cplusplus 00022 } 00023 #endif 00024 00025 #endif