An officer was conducting a traffic stop and had two persons detained when an unrelated suspect ambushed the officer and struck him with a pipe. The officer shot the suspect who was transported to Ben Taub.