Merge "Add an utility function to convert RotationFlags to Rotation" into sc-dev