Skip to main content

api_reference_group_executor

  • GroupExecutor class manages Sync/Bulk operations for multiple DYNAMIXEL motors, allowing efficient communication by staging commands and executing them in groups.

GroupExecutor Class

MethodReturn TypeDescription
GroupExecutor(connector: Connector)-Initializes the GroupExecutor.
addCmd(self, command: StagedCommand)-Adds a command to the execution queue.
clearStagedWriteCommands()-Clears all staged write commands.
clearStagedReadCommands()-Clears all staged read commands.
executeWrite()-Executes the write commands in the queue.
executeRead()-Executes the read commands in the queue.

Variables

VariableTypeAttributeDescription
connectorConnectorinstanceConnector instance.
port_handlerPortHandlerinstancePortHandler instance.
packet_handlerPacketHandlerinstancePacketHandler instance.
group_bulk_writeGroupBulkWriteinstanceGroupBulkWrite instance.
group_bulk_readGroupBulkReadinstanceGroupBulkRead instance.
_staged_write_commandsList[StagedCommand]instanceList of staged write commands.
_staged_read_commandsList[StagedCommand]instanceList of staged read commands.