Automation of the traffic on waterways