Safety qualification of an autonomous ship prototype for sea trials