Edit on GitHub

CPP GroupBulkRead

Methods Description
GroupBulkRead Initializes groupBulkRead instance
~GroupBulkRead Clears parameter storage
getPortHandler Returns PortHandler instance
getPacketHandler Returns PacketHandler instance
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

Method References

addParam
Parameters Description  
id DYNAMIXEL ID  
start_address Address on the control table of DYNAMIXEL  
data_length data_length  
removeParam
Parameters Description
id DYNAMIXEL ID
clearParam
txPacket
rxPacket
txRxPacket
isAvailable
- Parameters

| Parameters | Description                               |
|:-----------|:------------------------------------------|
| id         | DYNAMIXEL ID                              |
| address    | Address on the control table of DYNAMIXEL |
| data       | Packet data                               |


- Detailed Description

   This function checks whether there is available data in the data. It returns false when there is no data from target address, or returns true.

##### getData
- Syntax
``` cpp
uint32_t getData(uint8_t id, uint16_t address, uint16_t data_length)
Parameters Description
id DYNAMIXEL ID
address Address on the control table of DYNAMIXEL
data_length data length