Collision avoidance of autonomous ships in inland waterways