I really don't understand it. After two ours of trying I found this as a working solution.
Code:
#Negate Z value of position
head.swapPos([-1,3,-2])
#Negate X,Y value of quaternion
head.swapQuat([-1,-3,-2,4])
The Z Value of the Head Target is pointing to the sky, the y-axis in viewwing direction and the x Axis to the right side of the user.
I would really appreciate if you could give me some Input on the swapQuat funkction.
Thanks!