added centerX and centerY to getARmDireciton
Revert "added centerX and centerY to getARmDireciton"

This reverts commit da28e67822ff0db284b75ac17b655e71dd5ec846.