Autonomous guidance and navigation based on the COLREGs rules and regulations of collision avoidance.