Consensus of heterogeneous multi-agent systems based on sampled-data with a small sampling delay