Consensus Problems in Hybrid Multi-Agent Systems