The class for writing multiple Dynamixel data from different addresses with different lengths at once.
More...
#include <group_bulk_write.h>
The class for writing multiple Dynamixel data from different addresses with different lengths at once.
Definition at line 37 of file group_bulk_write.h.
The function that Initializes instance for Bulk Write.
- Parameters
-
Definition at line 34 of file group_bulk_write.cpp.
| dynamixel::GroupBulkWrite::~GroupBulkWrite |
( |
| ) |
|
|
inline |
The function that calls clearParam function to clear the parameter list for Bulk Write.
Definition at line 66 of file group_bulk_write.h.
| bool GroupBulkWrite::addParam |
( |
uint8_t |
id, |
|
|
uint16_t |
start_address, |
|
|
uint16_t |
data_length, |
|
|
uint8_t * |
data |
|
) |
| |
The function that adds id, start_address, data_length to the Bulk Write list.
- Parameters
-
| id | Dynamixel ID |
| start_address | Address of the data for write |
| data_length | Length of the data for write |
- Returns
- false
-
when the ID exists already in the list
-
or true
Definition at line 76 of file group_bulk_write.cpp.
| bool GroupBulkWrite::changeParam |
( |
uint8_t |
id, |
|
|
uint16_t |
start_address, |
|
|
uint16_t |
data_length, |
|
|
uint8_t * |
data |
|
) |
| |
The function that changes the data for write in id -> start_address -> data_length to the Bulk Write list.
- Parameters
-
| id | Dynamixel ID |
| start_address | Address of the data for write |
| data_length | Length of the data for write |
| data | for replacement |
- Returns
- false
-
when the ID doesn't exist in the list
-
or true
Definition at line 111 of file group_bulk_write.cpp.
| void GroupBulkWrite::clearParam |
( |
| ) |
|
| PortHandler* dynamixel::GroupBulkWrite::getPortHandler |
( |
| ) |
|
|
inline |
| void GroupBulkWrite::makeParam |
( |
| ) |
|
|
private |
| void GroupBulkWrite::removeParam |
( |
uint8_t |
id | ) |
|
The function that removes id from the Bulk Write list.
- Parameters
-
Definition at line 94 of file group_bulk_write.cpp.
| int GroupBulkWrite::txPacket |
( |
| ) |
|
| std::map<uint8_t, uint16_t> dynamixel::GroupBulkWrite::address_list_ |
|
private |
| std::map<uint8_t, uint8_t *> dynamixel::GroupBulkWrite::data_list_ |
|
private |
| std::vector<uint8_t> dynamixel::GroupBulkWrite::id_list_ |
|
private |
| bool dynamixel::GroupBulkWrite::is_param_changed_ |
|
private |
| std::map<uint8_t, uint16_t> dynamixel::GroupBulkWrite::length_list_ |
|
private |
| uint8_t* dynamixel::GroupBulkWrite::param_ |
|
private |
| uint16_t dynamixel::GroupBulkWrite::param_length_ |
|
private |
The documentation for this class was generated from the following files: