The spatial orientation system was a component of the holodeck technology, determining whether holograms were left- or right-handed
This system malfunctioned in one of Data's Sherlock Holmes holoprograms in 2369, so a hologram appeared right-handed rather than left-handed. (TNG: "Ship In A Bottle")