Cooperative event-based rigid formation control