utils/gauge_orientation library