Competing with autonomous model vehicles: a software stack for driving in smart city environments