Development and testing of a risk-based control system for autonomous ships. (June 2023)