DXL_SDK_For_F446RE. Now test with MX64AR, MX28AR with 1Mbps
Dependents: RoboticArm DXL_SDK_Porting_Test
Diff: dynamixel.h
- Revision:
- 3:e2e9064c668d
- Parent:
- 0:bf4774b25188
- Child:
- 4:44560391db99
--- a/dynamixel.h Wed Feb 08 11:24:07 2017 +0800 +++ b/dynamixel.h Wed Feb 08 12:26:30 2017 +0800 @@ -73,13 +73,13 @@ #define CW_ANGLE_LIMIT_H 7 #define CCW_ANGLE_LIMIT_L 8 #define CCW_ANGLE_LIMIT_H 9 -#define MOVING 46 -#define XL_MOVING 49 -#define GOAL_POSITION 30 -#define PRESENT_POS 36 -#define ID_ADDRESS 3 -#define MOVING 46 -#define XL_MOVING 49 +#define MOVING 46 +#define XL_MOVING 49 +#define GOAL_POSITION 30 +#define PRESENT_POS 36 +#define ID_ADDRESS 3 +#define MOVING 46 +#define XL_MOVING 49 #define CW_ANGLE_LIMIT_L 6 #define CW_ANGLE_LIMIT_H 7 #define CCW_ANGLE_LIMIT_L 8 @@ -93,7 +93,7 @@ void dxl_write_byte( int id, int address, int value ); int dxl_read_word( int id, int address ); void dxl_write_word( int id, int address, int value ); -int syncWrite(int start_addr, int data_length, int *param, int param_length); // WORD(16bit) syncwrite() for DXL +int syncWrite_u16base(short int start_addr, short int data_length, short int *param, short int param_length); // WORD(16bit) syncwrite() for DXL void setPosition(int ServoID, int Position, int Speed);//stanley