Wireless intelligent distributed consensus system for autonomous driving