feat(dynio): Protocol 2 group I/O, X-series control tables, and motor helpers#4
Open
smpdl wants to merge 6 commits into
Open
feat(dynio): Protocol 2 group I/O, X-series control tables, and motor helpers#4smpdl wants to merge 6 commits into
smpdl wants to merge 6 commits into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_writeandbulk_read/bulk_writefor multi-motor bus transactions (implemented in newdynio/group_io.py).DynamixelCommError: raised on failed group transactions or use ofDynamixelIOwithout an open port (replaces silent failures for those paths).new_xc330m288t,new_xl430w250t, andnew_xm430w350thelpers.get_model_number,get_id,get_baud_rate,get_present_temperature,hardware_error_status);get_currentprefersPresent_Currenton Protocol 2 when available.docs.mdandREADME.mdwith usage examples..gitignoreadded.Backward-compatible for existing single-motor usage; new APIs are only additive.