I know they measure roll and pitch. You need to check with meyer and/or hippyloggerbiker for more details. They are the bubble-heads.
The displaced officer usually hot racks with another JO or sleeps in the Chief's quarters (with their permission) if there is an open rack. In the Med 1979/80 we had the squadron Commodore (O-6) ride with us for about half the deployment. He got the XO's stateroom and the XO bumped the First Lieutenant and bunked with the Weapons Officer in the stateroom opposite his former SR. I was in the SR just forward of Weaps with the XO of the air det. I didn't think he would bump me as I had the upper rack.
The Commodore liked my country and classical music tapes and would borrow them all the time. He was the only high numbered Squadron commander to get picked up for Rear Admiral that year. About three years later I stopped for gas on I-95 in Virginia at about 0130 one night. I looked at the guy pumping gas across from me and it was the admiral. I said hello and asked how he was doing. He asked about me and bought me a coffee to go. Shame I never got assigned to his staff. That would have been a great tour.
WWG1WGA
Garde la Foi, mes amis! Nous nous sommes les sauveurs de la République! Maintenant et Toujours!
(Keep the Faith, my friends! We are the saviors of the Republic! Now and Forever!)
LonePalm, le Républicain du verre cassé (The Broken Glass Republican)
On a Submarine, “Roll and Pitch” are measured in different ways...To answer your question, I would say they are measured at the SCP (Ship’s Control Panel) using a “Bubble Level” (there are other instruments available).
A “VIP” on-board usually takes the XO’s(Executive Officer) “Stateroom”...then the XO takes a more junior officer’s “extra rack” (bed) or the Captain’s “extra rack”. Depends on how long the stay.
Of note, there are several communication and announcements circuits in the Captain’s Stateroom. The Captain or XO is often awaken for certain ship’s communications or actions and would, therefore awaken the VIP at odd hours.
Just to let you know, while I work with a few boomers, I am not a bubble-head. Although submarine training does seem to align with the power industry.