In watching some Saturn rocket launches from the perspective of the camera being on the launch tower, it seems as if there was relatively little distance between the launching rocket and the tower. I realize this "little distance" between the rocket and tower is relative, but it looks by eyeball measurements to not really be more than the diameter of the 1st stage of the rocket itself.
Were there precautions built into the guidance software that would prevent gimbaling the motors in such a way as to accidentally move the rocket towards the tower at least until some sort of elapsed time or altitude had been reached to guarantee the tower had been cleared? I know it's highly unlikely that a gust of wind or other external influence could have actually had enough of an effect to move the huge rocket that much. But I am wondering if that contingency had been built into the software to reduce that possibility of an accidental launch collision with the tower.