Onboard sensors and sophisticated algorithms could alert drivers, but what about cost?