added rotation of cage motor immediately after localization