Attitude measurement technology of north finder for mining