Python GroupBulkRead
-
Description
Base functions for simultaneous dynamixel control on reading to different length data on different control table address.
-
Members
None
-
Methods
| Methods | Description |
|---|---|
| GroupBulkRead | Initializes members of packet data pointer struct |
| addParam | Adds parameter storage for read |
| removeParam | Removes parameter on the storage |
| clearParam | Clears parameter storage |
| txPacket | Transmits packet to the number of DYNAMIXEL’s |
| rxPacket | receives packet from the number of DYNAMIXEL’s |
| txRxPacket | Transmits and receives packet on the number of DYNAMIXEL’s |
| isAvailable | Checks whether there is available data in the data storage |
| getData | Gets data from received packet |
-
Enumerator
None
Method References
GroupBulkRead
- Syntax
GroupBulkRead(port, ph) - Parameters
| Parameters | Description |
|---|---|
| port | PortHandler instance |
| ph | PacketHandler instance |
-
Detailed Description
This function initializes the parameters for packet construction. The function resizes groupData struct and initialzes struct members.
addParam
- Syntax
addParam(dxl_id, start_address, data_length) - Parameters
| Parameters | Description |
|---|---|
| dxl_id | DYNAMIXEL ID |
| start_address | Start address |
| data_length | Data length |
-
Detailed Description
This function pushes
dxl_idto the DYNAMIXEL ID list, and initializes the parameter storage bysetting start_addressanddata_length.
removeParam
- Syntax
removeParam(dxl_id) - Parameters
| Parameters | Description |
|---|---|
| dxl_id | DYNAMIXEL ID |
-
Detailed Description
This function removes target list of
dxl_idfrom DYNAMIXEL ID list. It returns false when the class uses Protocol 1.0 .
clearParam
- Syntax
clearParam() - Parameters
None
-
Detailed Description
This function clears DYNAMIXEL ID list. It returns false when the class uses Protocol 1.0, or returns true.
txPacket
- Syntax
txPacket() - Parameters
None
-
Detailed Description
This function transmits the packet by using
bulkReadTxThe communication result and the hardware error are available when the function is terminated.
rxPacket
- Syntax
rxPacket() - Parameters
None
-
Detailed Description
This function receives the packet by using
readRxfunction. The communication result and the hardware error are available when the function is terminated.
txRxPacket
- Syntax
txRxPacket() - Parameters
None
-
Detailed Description
This function transmits and receives the packet by using
txPacketfunction andrxPacketfunction. The communication result and the hardware error are available when the function is terminated.
isAvailable
- Syntax
isAvailable(dxl_id, address, data_length) - Parameters
| Parameters | Description |
|---|---|
| dxl_id | DYNAMIXEL ID |
| address | Address on the control table of DYNAMIXEL |
| data_length | data length |
-
Detailed Description
This function checks whether there is available data in the data storage. It returns false when there is no data from target address, or returns true.
getData
- Syntax
getData(dxl_id, address, data_length) - Parameters
| Parameters | Description |
|---|---|
| dxl_id | DYNAMIXEL ID |
| address | Address on the control table of DYNAMIXEL |
| data_length | data length |
-
Detailed Description
This function gets specific data from received packet. It returns false when there is no data from target address, or returns true.

