Ok, you are using roll to look up and down (that was not clear to me) and now you want to change this to tilt.

Did you already try to convert the pan-roll-angle to a vector via vec_for_angle and back to a pan-tilt-angle via vec_to_angle?