Heading sensor