Stopping in the middle of the road is dangerous (people will crash into you) and it would also be hard to make something have a feature to pull them off the road. If the computer reads it wrong you'll be in a ditch from the car trying to pull you off the road into something with no shoulder. The shoulder of a road is also dangerous as well even if there is a proper one because people often do not stay exactly in their lane. This is why officers often come around to the passenger side.