This fix probably reflects the original intention of the code author, because without it delays set in detect_servos() are ignored.
Without this fix Dynamixel XC330-T288-T does not start and enters something like a "soft bricked" state (no errors reported, but not responding to any commands). This adds a delay after ping messages so that servos have time to respond to the pings and are ready to be configured further.