I read the question WHY (actually) did Rosetta have to go into hibernation for 2.5 years? that uses the term attitude to refer to the orientation of the Rosetta probe:
It spun itself up to stabilize its attitude, then shut down navigation, attitude control, communication systems as well as some of the heaters
When I read the question, I thought it was a typo for altitude, but now I understand that attitude control refers to:
...controlling the orientation of an object with respect to an inertial frame of reference or another entity (the celestial sphere, certain fields, nearby objects, etc.).
Source: Wikipedia
My question is, what is the origin of using the word 'attitude' to refer to orientation?