19 #if defined(__linux__) 23 #elif defined(__APPLE__) 27 #elif defined(_WIN32) || defined(_WIN64) 32 #elif defined(ARDUINO) || defined(__OPENCR__) || defined(__OPENCM904__) 33 #include "../../include/dynamixel_sdk/packet_handler.h" 34 #include "../../include/dynamixel_sdk/protocol1_packet_handler.h" 35 #include "../../include/dynamixel_sdk/protocol2_packet_handler.h" 42 if (protocol_version == 1.0)
46 else if (protocol_version == 2.0)
The class that inherits Protocol1PacketHandler class or Protocol2PacketHandler class.
static Protocol1PacketHandler * getInstance()
The function that returns Protocol1PacketHandler instance.
static PacketHandler * getPacketHandler(float protocol_version=2.0)
The function that returns PacketHandler instance.
static Protocol2PacketHandler * getInstance()
The function that returns Protocol2PacketHandler instance.