Title: Attitude control of an underwater vehicle subjected to waves