IMO, voting is simply formalizing an already achieved consensus. Voting can also be done to gauge a consensus, but only if done informally, IMO (e.g. "I think we should do Foo. What do you all thing?" and then wait for some +1s, -0s, etc...).
You drive consensus by discussion and collaboration and compromise; not by voting.