FSD goes around turning truck in oncoming lane.

Like the title says, this dump truck was turning off the highway and FSD went around it to keep speed. No oncoming traffic. It did it exactly like I would have but I’m curious if it knew no traffic was coming or did it think I was on a two lane highway and that was the passing lane?