Go to the documentation of this file.
21 #if defined(__linux__)
23 #elif defined(__APPLE__)
25 #elif defined(_WIN32) || defined(_WIN64)
28 #elif defined(ARDUINO) || defined(__OPENCR__) || defined(__OPENCM904__)
29 #include "../../include/dynamixel_sdk/group_sync_write.h"
37 is_param_changed_(false),
39 start_address_(start_address),
40 data_length_(data_length)
56 for (
unsigned int i = 0; i <
id_list_.size(); i++)
84 std::vector<uint8_t>::iterator it = std::find(
id_list_.begin(),
id_list_.end(),
id);
97 std::vector<uint8_t>::iterator it = std::find(
id_list_.begin(),
id_list_.end(),
id);
115 for (
unsigned int i = 0; i <
id_list_.size(); i++)
virtual int syncWriteTxOnly(PortHandler *port, uint16_t start_address, uint16_t data_length, uint8_t *param, uint16_t param_length)=0
The function that transmits INST_SYNC_WRITE instruction packet @description The function makes an ins...
std::vector< uint8_t > id_list_
std::map< uint8_t, uint8_t * > data_list_
The class for port control that inherits PortHandlerLinux, PortHandlerWindows, PortHandlerMac,...
bool addParam(uint8_t id, uint8_t *data)
The function that adds id, start_address, data_length to the Sync Write list.
#define COMM_NOT_AVAILABLE
int txPacket()
The function that transmits the Sync Write instruction packet which might be constructed by GroupSync...
GroupSyncWrite(PortHandler *port, PacketHandler *ph, uint16_t start_address, uint16_t data_length)
The function that Initializes instance for Sync Write.
bool 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 ...
void clearParam()
The function that clears the Sync Write list.
The class that inherits Protocol1PacketHandler class or Protocol2PacketHandler class.
void removeParam(uint8_t id)
The function that removes id from the Sync Write list.
dynamixel_sdk
Author(s): Gilbert
, Zerom , Darby Lim , Leon
autogenerated on Wed Mar 2 2022 00:13:50