You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-54Lines changed: 22 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,28 +2,28 @@
2
2
3
3
## **1. Introduction**
4
4
5
-
ROS 2 package providing a hardware interface for controlling [Dynamixel](https://www.robotis.us/dynamixel/) motors via the ros2_control framework. This repository includes the **dynamixel_hardware_interface plugin** for seamless integration with ROS 2 control, along with the dynamixel_interfaces package containing custom message definitions used by the interface
5
+
ROS 2 package providing a hardware interface for controlling [Dynamixel](https://www.dynamixel.com/) motors via the [ros2_control framework](https://github.com/ros-controls/ros2_control). This repository includes the **dynamixel_hardware_interface plugin** for seamless integration with ROS 2 control, along with the [dynamixel_interfaces](https://github.com/ROBOTIS-GIT/dynamixel_interfaces) package containing custom message definitions used by the interface
A ROS-based package tailored for the **Open Manipulator-Y**, a 6-DOF robotic arm. This package offers enhanced compatibility and extended functionalities for advanced manipulator control and operations.
62
61
63
-
----
64
-
65
-
66
62
67
63
## 5. Configuration
68
64
@@ -83,8 +79,6 @@ These parameters define how the interface communicates with the Dynamixel motors
83
79
84
80
- **`error_timeout_sec`**: Timeout for communication errors.
85
81
86
-
------
87
-
88
82
#### **2. Hardware Configuration**
89
83
90
84
These parameters define the hardware setup:
@@ -95,8 +89,6 @@ These parameters define the hardware setup:
Joints define the control and state interfaces for robot movement:
@@ -122,22 +114,19 @@ Joints define the control and state interfaces for robot movement:
122
114
<state_interface name="effort"/>
123
115
```
124
116
125
-
---
126
117
127
-
### **4. GPIO Configuration**
118
+
#### **4. GPIO Configuration**
128
119
129
120
The GPIO tag is used to define the configuration of Dynamixel motors in a robotics system. It serves as a declarative structure to set up motor-specific parameters, command interfaces, and state monitoring capabilities. This allows seamless integration of Dynamixel hardware with software frameworks.
130
121
131
-
------
132
122
133
-
#### **Key Attributes**
123
+
##### **Key Attributes**
134
124
135
125
- **`name`**: A unique identifier for the motor configuration (e.g., `dxl1`).
136
126
- **`ID`**: The unique ID assigned to the motor in the Dynamixel network (e.g., `11`).
137
127
138
-
------
139
128
140
-
#### **Sub-Elements**
129
+
##### **Sub-Elements**
141
130
142
131
1. **`<param>`**: Specifies motor-specific settings. These parameters correspond to the properties of the Dynamixel motor, such as its type, control mode, or PID gain values.
143
132
@@ -159,9 +148,7 @@ The GPIO tag is used to define the configuration of Dynamixel motors in a roboti
159
148
<state_interface name="Present Current"/>
160
149
```
161
150
162
-
------
163
-
164
-
#### **Example GPIO Configuration**
151
+
##### **Example GPIO Configuration**
165
152
166
153
Below is an example of a fully defined GPIO configuration for a Dynamixel motor. This example demonstrates how to configure a motor with ID `11`, define command interfaces, monitor state data, and set additional parameters such as PID gains and drive mode.
167
154
@@ -180,9 +167,7 @@ Below is an example of a fully defined GPIO configuration for a Dynamixel motor.
180
167
</gpio>
181
168
```
182
169
183
-
------
184
-
185
-
#### **Dynamixel Control Table Reference**
170
+
##### **Dynamixel Control Table Reference**
186
171
187
172
The Dynamixel hardware interface uses control tables, defined in model-specific files such as `xm430_w350.model`, to configure and interact with the motor's internal settings. These control tables map hardware parameters to specific memory addresses and data types, enabling fine-grained control and monitoring.
188
173
@@ -208,24 +193,21 @@ These settings can be defined within the GPIO configuration or dynamically updat
208
193
This professional explanation highlights the flexibility and precision of the Dynamixel hardware interface, empowering developers to fully utilize their motor's capabilities within a structured framework. For further details, refer to the [official Dynamixel e-Manual](https://emanual.robotis.com/docs/en/dxl/x/xm430-w350/#control-table-of-eeprom-area).
209
194
210
195
211
-
212
196
## **6. Usage**
213
197
214
198
Ensure the parameters are configured correctly in your `ros2_control` YAML file or XML launch file.
0 commit comments