@johnymal
In the movie industry, they have a gadget called a “gimbal stabilizer” that keeps the camera in position while the vehicle or cameraman is moving.
My physics professor brought out a gadget to explain gravity and how different payloads would affect an object’s position in relation to the horizontal plane.
From that info, here is my crude concept sketch of that gadget with something such as an instrument mounted on top of a rounded head on a plate with a hole and the instrument on a tribrach with ball bearings to allow movement across the surface of the rounded head and connected to a shaft with a weight on the bottom where gravity would keep the instrument upright.