Dynamixel2Arduino
Dynamixel2Arduino copied to clipboard
Fixes for fastSyncRead() timeout and erronous packets that cause firmware to crash
- Changed
info_rx_packet_.parse_statetoDXL2_0_PACKET_PARSING_STATE_IDLEafter a timeout to ensure it is reset correctly. - Ensure that on every new packet,
xel_indexandbuf_indexare reset to zero. Right now, these are only reset to zero when a packet of a certain length is detected.