Previous work demonstrated that adding a wireless link to a distance control between vehicles has effect on its performance. This paper presents an algorithm that minimizes the effect of the transmission delay and the packet losses of said wireless link. The extrapolation algorithm is implemented by a block added just after the link, so that it is transparent to the control system and it does not reduce the efficiency of the link. The results demonstrate that choosing an appropriate extrapolation order makes the performance equal to the case in which the communication is hardwired.