Autonomous Control for Adaptive Ships