The invention belongs to the field of cleaning robots, particularly relates to a robot for road cleaning, and aims at conventional problems of low road cleaning efficiency, low speed, incomplete cleaning, high cleaning cost and high working intensity of workers, and the following solution is proposed, which including a power supply module, an ultrasonic online detection module, a steering assemblyand a support base, the ultrasonic online detection module is electrically connected with the power supply module. The ultrasonic online detection module includes a front data acquisition probe, a data transmission wire and a signal data processing platform. In the present invention, the robot is driven forward by a driving assembly, and sprays water to the cleaned road by a spraying assembly, and cleans the road by a cleaning assembly, and stores the garbage by a garbage storage assembly, and reminds workers by a alarm assembly when the garbage reaches a certain amount, and detects obstaclesin front by the ultrasonic online detection module, and controls the steering assembly to turn direction. The invention has advantages of simple structure and convenient operation.