With the Voyager 1 attitude correction all over the news (related: How do Voyager 1's Trajectory Control Thrusters differ from its Attitude Control Thrusters?), I wonder with what instrument such a spacecraft can measure its own attitude towards earth in the first place.
How do we know exactly what its attitude is so that the thrusters can accurately be fired?