Dynamixel mot1(id1, 0.879)
void setDrawerGoalState(bool drawer1, bool drawer2, bool drawer3)
void sendMessage(dataPack message)
Sends an encoded message over serial.
void moveAbsolute(uint16_t p1, uint16_t p2, uint16_t p3, uint16_t p4, uint16_t p5, uint16_t p6)
move motors to an absolute position
void moveIncremental(uint16_t p1, uint16_t p2, uint16_t p3, uint16_t p4, uint16_t p5, uint16_t p6)
move motors to an incremental position
Dynamixel mot2(id2, 0.879 *2)
bool readDataToStruct(dataPack *data)
Iterates through message one byte at a time casts it to a dataPack struct.
void readMessage(char *message)
Iterates through message one character at a time until the end character is found and returns a char ...