The class for writing multiple Dynamixel data from same address with same length at once.
More...
#include <group_sync_write.h>
The class for writing multiple Dynamixel data from same address with same length at once.
Definition at line 37 of file group_sync_write.h.
The function that Initializes instance for Sync Write.
- Parameters
-
port | PortHandler instance |
ph | PacketHandler instance |
start_address | Address of the data for write |
data_length | Length of the data for write |
Definition at line 34 of file group_sync_write.cpp.
dynamixel::GroupSyncWrite::~GroupSyncWrite |
( |
| ) |
|
|
inline |
The function that calls clearParam function to clear the parameter list for Sync Write.
Definition at line 67 of file group_sync_write.h.
bool GroupSyncWrite::addParam |
( |
uint8_t |
id, |
|
|
uint8_t * |
data |
|
) |
| |
The function that adds id, start_address, data_length to the Sync Write list.
- Parameters
-
id | Dynamixel ID |
data | Data for write |
- Returns
- false
-
when the ID exists already in the list
-
or true
Definition at line 68 of file group_sync_write.cpp.
bool GroupSyncWrite::changeParam |
( |
uint8_t |
id, |
|
|
uint8_t * |
data |
|
) |
| |
The function that changes the data for write in id -> start_address -> data_length to the Sync Write list.
- Parameters
-
id | Dynamixel ID |
data | for replacement |
- Returns
- false
-
when the ID doesn't exist in the list
-
or true
Definition at line 95 of file group_sync_write.cpp.
void GroupSyncWrite::clearParam |
( |
| ) |
|
PortHandler* dynamixel::GroupSyncWrite::getPortHandler |
( |
| ) |
|
|
inline |
void GroupSyncWrite::makeParam |
( |
| ) |
|
|
private |
void GroupSyncWrite::removeParam |
( |
uint8_t |
id | ) |
|
The function that removes id from the Sync Write list.
- Parameters
-
Definition at line 82 of file group_sync_write.cpp.
int GroupSyncWrite::txPacket |
( |
| ) |
|
uint16_t dynamixel::GroupSyncWrite::data_length_ |
|
private |
std::map<uint8_t, uint8_t* > dynamixel::GroupSyncWrite::data_list_ |
|
private |
std::vector<uint8_t> dynamixel::GroupSyncWrite::id_list_ |
|
private |
bool dynamixel::GroupSyncWrite::is_param_changed_ |
|
private |
uint8_t* dynamixel::GroupSyncWrite::param_ |
|
private |
uint16_t dynamixel::GroupSyncWrite::start_address_ |
|
private |
The documentation for this class was generated from the following files: