DXL_SDK_For_F446RE. Now test with MX64AR, MX28AR with 1Mbps
Dependents: RoboticArm DXL_SDK_Porting_Test
Revision 5:edccfcb47ab8, committed 2017-02-10
- Comitter:
- stanley1228
- Date:
- Fri Feb 10 22:55:30 2017 +0800
- Parent:
- 4:44560391db99
- Commit message:
- 1.Add read pos
2.Add Index_Axis gMapAxisNo gMapAxisID
Changed in this revision
dynamixel.cpp | Show annotated file Show diff for this revision Revisions of this file |
dynamixel.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 44560391db99 -r edccfcb47ab8 dynamixel.cpp --- a/dynamixel.cpp Wed Feb 08 15:49:35 2017 +0800 +++ b/dynamixel.cpp Fri Feb 10 22:55:30 2017 +0800 @@ -363,7 +363,7 @@ dxl_txrx_packet(); } -int syncWrite_u16base(short int start_addr, short int data_length, short int *param, short int param_length) // WORD(16bit) syncwrite() for DXL stanley +int syncWrite_u16base(unsigned short int start_addr, unsigned short int data_length, unsigned short int *param, unsigned short int param_length) // WORD(16bit) syncwrite() for DXL stanley { while(giBusUsing);
diff -r 44560391db99 -r edccfcb47ab8 dynamixel.h --- a/dynamixel.h Wed Feb 08 15:49:35 2017 +0800 +++ b/dynamixel.h Fri Feb 10 22:55:30 2017 +0800 @@ -93,7 +93,7 @@ void dxl_write_byte( int id, int address, int value ); int dxl_read_word( short int id, short int address ); void dxl_write_word( short int id, short int address, short int value ); -int syncWrite_u16base(short int start_addr, short int data_length, short int *param, short int param_length); // WORD(16bit) syncwrite() for DXL +int syncWrite_u16base(unsigned short int start_addr, unsigned short int data_length, unsigned short int *param, unsigned short int param_length); // WORD(16bit) syncwrite() for DXL void setPosition(int ServoID, int Position, int Speed);//stanley