Skip to content

feat(dynio): Protocol 2 group I/O, X-series control tables, and motor helpers#4

Open
smpdl wants to merge 6 commits into
UGA-BSAIL:masterfrom
smpdl:master
Open

feat(dynio): Protocol 2 group I/O, X-series control tables, and motor helpers#4
smpdl wants to merge 6 commits into
UGA-BSAIL:masterfrom
smpdl:master

Conversation

@smpdl
Copy link
Copy Markdown

@smpdl smpdl commented Jun 2, 2026

Single-register read/write per motor is fine for one actuator, but arms and multi-DOF setups need sync/bulk transactions to keep loop rates reasonable on Protocol 2. So, this PR introduces this change. I kept the existing control-table-by-name style while exposing the Dynamixel SDK group handlers.

This is the list of all new additions:

  • sync_read / sync_write and bulk_read / bulk_write for multi-motor bus transactions (implemented in new dynio/group_io.py).
  • DynamixelCommError: raised on failed group transactions or use of DynamixelIO without an open port (replaces silent failures for those paths).
  • New Control tables: bundled JSON for XC330-M288-T, XL430-W250-T, and XM430-W350-T, with new_xc330m288t, new_xl430w250t, and new_xm430w350t helpers.
  • Motor API: additional readers (get_model_number, get_id, get_baud_rate, get_present_temperature, hardware_error_status); get_current prefers Present_Current on Protocol 2 when available.
  • Docs: updated docs.md and README.md with usage examples.
  • Hygiene: .gitignore added.

Backward-compatible for existing single-motor usage; new APIs are only additive.

smpdl and others added 6 commits June 2, 2026 15:14
…iteadded

- added control tables for xc330-m288t, xl430w250t, xm430w350t
- added new public functions for reading some essential information from the control table
- updated the docs for all the new changes
Added Max_Angle to Values section in JSON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant