The invention discloses a floor sweeping
robot based on a depth camera. The floor sweeping
robot comprises a shell, the depth camera, a sensor device, a walking mechanism, a cleaning device, a drivingassembly and a control device. The depth camera is arranged on the shell. The control device positions the floor sweeping
robot and establishes a surrounding map according to color information and depth information of a
space environment acquired by the depth camera, and a sweeping
route is planned on the basis; the driving
assembly controls the floor sweeping robot to move according to the planned sweeping
route, and the movement direction of the moving robot is adjusted in real time in the moving process according to surrounding sensing information acquired by a
sensor array; the control device is further used for controlling the cleaning
assembly to execute corresponding sweeping through the driving
assembly according to a sweeping mode set by a user. The floor sweeping robot can capture richer space information, thus, the map is accurately established, the sweeping
route is planned, and the cost is greatly reduced.