Developing shared control architectures with vehicle-in-the-loop