I think some nuances are missing from the video. Some teams use a system to detect torque on the wheel gun[0]. When it reaches a certain level, it means the wheel is attached securely. If this happens with all the wheels, then the pit stop is complete and green light can be shown to the driver.
Needless to say, I have witnessed "sensor errors" botch up a perfectly fine pit stop.
Needless to say, I have witnessed "sensor errors" botch up a perfectly fine pit stop.
0: https://www.formula1.com/en/latest/article.fia-to-present-pi...