Evaluating connected and autonomous vehicles using a hardware-in-the-loop testbed and a living lab. (May 2019)