Detecting longitudinal speed or acceleration of target vehicle