Method and device for state switching, and robot

A state switching and state machine technology, applied in the field of robotics, can solve problems such as inapplicable application scenarios, complex design, and inconvenient maintenance, and achieve the effect of satisfying nested recursive processing capabilities.

Active Publication Date: 2020-05-19
ANKER INNOVATIONS TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this kind of traditional state machine cannot be applied to complex application scenarios because the state level is relatively single, and it is not easy to implement state nesting and recursion, and for other versions of the state machine, there are also problems such as more complicated design and inconvenient maintenance. kind of defect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the objectives, technical solutions and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments of the present invention. It should be understood that the present invention is not limited by the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0054] The present invention can be applied to intelligent robots, or can be simply referred to as robots, such as smart speakers, sweeping robots, self-moving devices, companion robots, walking robots, etc. The entire operating life cyc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for state switching, and a robot. A state machine comprises a plurality of tree-shaped state nodes, and the plurality of state nodes comprise a first state node and a second state node. The method for state switching comprises the following steps: switching a state; the first state node sends a switching request signaling to the second state node, wherein the first state node is located on a current state chain, the second state node is a recently common ancestor state node of the first state node and the target state node, and the switching request signaling comprises any one of a common switching signaling, a stack pushing switching signaling and a stack exiting switching signaling; and the second state node switches from the current state chain to a target state chain where the target state node is located according to the switching request signaling. Therefore, state switching between the nodes can be completed through the switching request signaling, hierarchical expansion of the state can be supported, the nested recursive processing capacity is met, and the method and the device can be applied to complex application scenes.

Description

Technical field [0001] The present invention relates to the field of robotics, and more specifically to a method, device and robot for state switching. Background technique [0002] The robot state machine is a set of logic processing programs running on the main control chip of the robot, which is used to monitor various operating states of the robot, and combine different target tasks to perform various condition detection, motion control, state switching, etc. In the entire operating life cycle of the robot from power-on to shutdown, there are various possible operating states, and each state will switch to each other according to different conditions or events at any time. In order to cope with various complex operating scenarios during the operation of the robot, the software must have a top-level design, namely the robot state machine, to monitor the operation of the robot so that it will not be confused. [0003] A traditional state machine model is composed of a state sche...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451G06F9/448
CPCG06F9/451G06F9/4498
Inventor 窦富宾
Owner ANKER INNOVATIONS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products