File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
include/dynamixel_hardware_interface/dynamixel Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,6 @@ ROS 2 package providing a hardware interface for controlling [Dynamixel](https:/
11
11
12
12
This package currently supports ROS 2 Humble only. Ensure that ROS 2 Humble is properly installed (ROS 2 Humble installation guide).
13
13
14
- - [ Dynamixel SDK] ( https://github.com/ROBOTIS-GIT/DynamixelSDK ) :
15
- - Install the Dynamixel SDK using the following command:
16
-
17
- ``` bash
18
- sudo apt install ros-humble-dynamixel-sdk
19
- ```
20
-
21
14
- Hardware Requirements:
22
15
23
16
- Dynamixel servos
@@ -31,6 +24,7 @@ This package currently supports ROS 2 Humble only. Ensure that ROS 2 Humble is p
31
24
32
25
``` bash
33
26
cd ~ /${WORKSPACE} /src
27
+ git clone -b humble https://github.com/ROBOTIS-GIT/DynamixelSDK.git
34
28
git clone -b humble https://github.com/ROBOTIS-GIT/dynamixel_hardware_interface.git
35
29
git clone -b humble https://github.com/ROBOTIS-GIT/dynamixel_interfaces.git
36
30
```
Original file line number Diff line number Diff line change @@ -125,12 +125,12 @@ class Dynamixel
125
125
std::vector<RWItemList> read_data_list_;
126
126
127
127
// sync read
128
- dynamixel::GroupSyncRead * group_sync_read_;
128
+ dynamixel::GroupFastSyncRead * group_sync_read_;
129
129
// indirect inform for sync read
130
130
std::map<uint8_t /* id*/ , IndirectInfo> indirect_info_read_;
131
131
132
132
// bulk read
133
- dynamixel::GroupBulkRead * group_bulk_read_;
133
+ dynamixel::GroupFastBulkRead * group_bulk_read_;
134
134
135
135
// write item (sync or bulk) variable
136
136
bool write_type_;
Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ DxlError Dynamixel::SetSyncReadHandler(std::vector<uint8_t> id_arr)
799
799
IN_ADDR, indirect_info_read_[id_arr.at (0 )].size );
800
800
801
801
group_sync_read_ =
802
- new dynamixel::GroupSyncRead (
802
+ new dynamixel::GroupFastSyncRead (
803
803
port_handler_, packet_handler_,
804
804
IN_ADDR, indirect_info_read_[id_arr.at (0 )].size );
805
805
@@ -917,7 +917,7 @@ DxlError Dynamixel::SetBulkReadHandler(std::vector<uint8_t> id_arr)
917
917
IN_ADDR, indirect_info_read_[id_arr.at (0 )].size );
918
918
}
919
919
920
- group_bulk_read_ = new dynamixel::GroupBulkRead (port_handler_, packet_handler_);
920
+ group_bulk_read_ = new dynamixel::GroupFastBulkRead (port_handler_, packet_handler_);
921
921
922
922
for (auto it_id : id_arr) {
923
923
uint8_t ID = it_id;
You can’t perform that action at this time.
0 commit comments