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
@@ -164,7 +165,11 @@ These two parameters, `device_class` and `name`, are not explicitly covered in t
164
165
165
166
## JSD and Offline Device Parameters
166
167
167
-
## Actuator
168
+
## GoldActuator and PlatinumActuator
169
+
170
+
Care was taken to ensure the Gold and Platinum device configuration parameters are shared between these two device drivers.
171
+
172
+
Note: the `egd_` suffix was changed to `elmo_` in `v0.12.0`
168
173
169
174
Engineering Units (EU) are radians for revolute actuators and meters for linear actuators.
170
175
@@ -187,10 +192,10 @@ Engineering Units (EU) are radians for revolute actuators and meters for linear
187
192
| `high_pos_cal_limit_eu` | Upper Position Limit typically corresponding to a hardstop. Used for Calibration Command |
188
193
| `high_pos_cmd_limit_eu` | Highest allowable command position value |
189
194
| `holding_duration_sec` | Duration to hold position after reset or after a motion command before re-engaging brakes |
190
-
| `egd_brake_engage_msec` | How long it takes to re-engage the brakes |
191
-
| `egd_brake_disengage_msec` | How long it takes to disengaged the brakes |
192
-
| `egd_crc` | CRC of the flashed Elmo parameter set |
193
-
| `egd_drive_max_current_limit` | The Maximum drive current for the Elmo Gold Drive |
195
+
| `elmo_brake_engage_msec` | How long it takes to re-engage the brakes |
196
+
| `elmo_brake_disengage_msec` | How long it takes to disengaged the brakes |
197
+
| `elmo_crc` | CRC of the flashed Elmo parameter set |
198
+
| `elmo_drive_max_current_limit` | The fixed, maximum drive current for the Elmo Drive |
194
199
| `smooth_factor` | Affects controller smoothing, defaults to `0` |
195
200
| `winding_resistance` | OPTIONAL: Winding resistance of motor for optional power calculation |
196
201
| `torque_constant` | OPTIONAL: Torque constant of motor for optional power calculation |
@@ -212,7 +217,7 @@ Engineering Units (EU) are radians for revolute actuators and meters for linear
212
217
### Example
213
218
214
219
``` yaml
215
-
- device_class: Actuator
220
+
- device_class: PlatinumActuator #or GoldActuator
216
221
name: tool
217
222
actuator_type: revolute # eu = radians
218
223
gear_ratio: 19
@@ -231,16 +236,85 @@ Engineering Units (EU) are radians for revolute actuators and meters for linear
231
236
high_pos_cmd_limit_eu: 1e15
232
237
high_pos_cal_limit_eu: 1e15
233
238
holding_duration_sec: 5.0
234
-
egd_brake_engage_msec: 10
235
-
egd_brake_disengage_msec: 10
236
-
egd_crc: -3260
237
-
egd_drive_max_current_limit: 10
239
+
elmo_brake_engage_msec: 10
240
+
elmo_brake_disengage_msec: 10
241
+
elmo_crc: -3260
242
+
elmo_drive_max_current_limit: 10
238
243
smooth_factor: 0
239
244
```
240
245
241
246
242
247
243
-
## Egd (Elmo Gold Drive) TODO
248
+
## Egd (Elmo Gold Drive)
249
+
250
+
This is a thin wrapper around the JSD EGD device. This does not have fastcat-side profiling nor any notion of gear ratio so the drive must be commanded in encoder counts.
| `cs_cmd_freq_hz` | The Target loop rate to command the drive in {CSP, CSV, CST} modes |
255
+
| `drive_cmd_mode` | Either `CS` or `PROFILED` see notes below for more details |
256
+
| `max_motor_speed` | Maximum speed this drive may be commanded in counts/sec |
257
+
| `torque_slope` | Rate to apply torque in certain profiled torque command modes |
258
+
| `max_profile_accel` | ELMO-side profiler acceleration in counts/sec |
259
+
| `max_profile_decel` | ELMO-side profiler deceleration in counts/sec |
260
+
| `velocity_tracking_error` | ELMO-side velocity tracking error in counts/sec |
261
+
| `position_tracking_error` | ELMO-side position tracking error in counts |
262
+
| `peak_current_limit` | Peak instantaneous current in Amp |
263
+
| `peak_current_time` | Max apply duration of Peak current before dropping down to Max Continuous current |
264
+
| `continuous_current_limit` | Max continuously supplied current permitted to actuator |
265
+
| `motor_stuck_current_level_pct` | See Elmo docs for details on this feature, `0` disables|
266
+
| `motor_stuck_velocity_threshold` | See Elmo docs for details on this feature, `0` disables|
267
+
| `motor_stuck_timeout` | See Elmo docs for details on this feature |
268
+
| `over_speed_threshold` | High motor speed used for overspeed violations in counts/sec |
269
+
| `low_position_limit` | Lower position the drive can move to in position mode, in counts |
270
+
| `high_position_limit` | Upper position the drive can move to in position mode, in counts|
271
+
| `brake_enage_msec` | How long it takes to re-engage the brake |
272
+
| `brake_disengage_msec` | How long it takes to disengage the brake |
273
+
| `crc` | CRC of the flashed parameter set |
274
+
| `drive_max_current_limit` | The fixed, Maximum drive current for the EGD |
275
+
276
+
`drive_cmd_mode`controls the structure of the Process Data Objects (PDO) exchanged with the device during nominal runtime. The Gold Drive has a fixed limit on the size of the PDO which means that it cannot support all DS-402 commands in the same configuration (in the preferred manner we like to use the drive anyways).
277
+
The Elmo Platinum Drive does not have this PDO limitation so it will accept all 6 command modes.
278
+
279
+
`drive_cmd_mode: PROFILED` means that ONLY profiled commands are accepted:
280
+
- `egd_prof_pos`
281
+
- `egd_prof_vel`
282
+
- `egd_prof_torque`
283
+
284
+
`drive_cmd_mode: CS` means that ONLY Cyclic-Synchronous commands are accepted:
285
+
- `egd_csp`
286
+
- `egd_csv`
287
+
- `egd_cst`
288
+
289
+
Note: the `GoldActuator` device uses the `Egd` device in `CS` mode. Profiled commands like `ACTUATOR_PROF_POS` are implemented with fastcat-side profiling.
0 commit comments