RPCs as trigger detector for the ATLAS experiment