added getCurrentPose and associated static initializer code