It handles these circumstances. Definitely seen it cross to the other side with oncoming traffic to get around a truck blocking a lane. For the signal light, never experienced that, but I imagine after awhile it'd figure it out. Possibly with the assistance of a remote human telling it.