This invention discloses a multi-task
state management system and method for cleaning robots, relating to the interdisciplinary fields of
robot software control and
computer vision. This application uses a task
finite state machine to receive operation type codes, classify tasks, and
queue them. In response to a lid-opening type I task, it sends a
perception request to the
visual perception module and locks the first mode code within a configured waiting
timeout period. Based on the
point cloud bounding box of the device to be processed and the parameterized process set, it generates a preset topology multipath sequence. In response to a cleaning task, after confirming the end
effector holding tool index, it obtains a six-dimensional
waypoint sequence that meets the quantity and timeliness thresholds, and constructs a surface-fitting operation
pose sequence based on tool length, process distance, and safety backoff amount. It performs joint
verification of the six-dimensional
waypoint sequence for the number of waypoints, receiving timeliness, and task type consistency. Each six-dimensional
waypoint is converted into an end
effector pose, and after batch fusion and distribution, end-point blocking confirmation is performed.