The output yaw should be on the interval (-180,180], and the output pitch should be on [-90,90].
The output yaw should be on the interval (-180,180], and the output pitch should be on [-90,90].