Navigation with NDI Aurora/Polaris tracker

I refer to the tutorial on the SlicerIGT site(http://www.slicerigt.org/
wp/user-tutorial/).
I am having difficulty in coordinate transformations and registration(I
will attach some pictures.).

image
Here is my source code.