The visual-inertial system is accurate on the bench and drifts on the robot. Its estimated gyro bias flips sign with every turn, a pattern that no real bias has.
You measure the time offset between the camera and the IMU, apply it where the gyro is integrated, and find why the bench never showed the problem.