libraries: fix delay after subsequent Robotis servo detections

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.
This commit is contained in:
Karol Pieniący 2023-07-21 11:55:26 +02:00 committed by Peter Barker
parent ba72c58659
commit abc78d1169
1 changed files with 1 additions and 0 deletions

View File

@ -373,6 +373,7 @@ void AP_RobotisServo::update()
if (detection_count < DETECT_SERVO_COUNT) {
detection_count++;
detect_servos();
return;
}
if (servo_mask == 0) {