Robot and debugging method, device and storage medium thereof

By constructing a robot capability set, the problems of debugging complexity and insufficient reliability in the existing technology are solved, the flexible combination of basic capabilities is realized, the debugging process is simplified, and efficiency and reliability are improved.

CN117245646BActive Publication Date: 2024-09-24BEIJING XIAOMI ROBOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211600751.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-12
Publication Date
2024-09-24
Estimated Expiration
2042-12-12

AI Technical Summary

Technical Problem

Existing robot debugging methods and devices have problems with debugging complexity and insufficient reliability. This is mainly due to the independent development of basic capabilities, which makes programming difficult and the capabilities cannot be flexibly combined and called.

Method used

By pre-integrating and classifying the basic capabilities of the robot, a capability set is constructed, a visual operation interface is provided to generate and run target debugging programs, and flexible combination calls between basic capabilities are achieved.

Benefits of technology

It simplifies debugging and programming operations, improves debugging efficiency and reliability, reduces the need for repeated programming and start-stop operation, and enhances the effect of robot behavior debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117245646B
    Figure CN117245646B
Patent Text Reader

Abstract

The present disclosure relates to the field of robot technology, and specifically provides a robot and its debugging method, device, and storage medium. A robot debugging method includes outputting a visual operation interface to a user terminal in response to receiving a debugging request sent by a user terminal, determining a target capability module from a pre-established capability set according to module identification information included in behavior debugging parameters input through the visual operation interface, and generating and running a target debugging program according to the target capability module and behavior debugging parameters. In the embodiment of the present disclosure, a robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the capabilities of the robot can be called through the capability set to achieve flexible combination calls between basic capabilities, simplify debugging programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of robot technology, and in particular to a robot and a debugging method, device, and storage medium thereof. Background Art

[0002] With the development of robotics technology, more and more research has been conducted on bionic robots. Bionic robots have excellent motion balance capabilities. Bionic robots may include, for example, bipedal robots, quadrupedal robots, and the like.

[0003] Robot behavior debugging has always been the core link of robot development, production and subsequent maintenance. Among related technologies, robot debugging effect and reliability are relatively poor. Summary of the invention

[0004] In order to improve the debugging effect and reliability of a robot, the embodiments of the present disclosure provide a robot debugging method, device, robot and storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a robot debugging method, which is applied to a robot, and the method comprises:

[0006] In response to receiving a debugging request sent by a user terminal, outputting a visual operation interface to the user terminal;

[0007] In response to receiving the behavior debugging parameters input through the visual operation interface, determining a target capability module from a pre-established capability set according to the module identification information included in the behavior debugging parameters; the capability set includes a plurality of capability modules, and the capability module includes one or more basic capabilities of the robot;

[0008] A corresponding target debugging program is generated according to the target capability module and the behavior debugging parameters, and the target debugging program is run.

[0009] In some implementations, the process of pre-establishing the capability set includes:

[0010] Classify the basic capabilities of the robot according to preset categories to obtain the capability module corresponding to each category;

[0011] The capability set is constructed according to the capability modules corresponding to each category.

[0012] In some embodiments, the basic capabilities of the robot are classified according to preset categories to obtain the capability modules corresponding to each category, including:

[0013] For each category, one or more capability submodules are constructed based on at least one basic capability corresponding to the category;

[0014] The capability module corresponding to the category is obtained according to the basic capability and the capability submodule.

[0015] In some embodiments, the behavior debugging parameters include motion behavior parameters of the robot; and generating a corresponding target debugging program according to the target capability module and the behavior debugging parameters includes:

[0016] The target capability module is called based on the program interface of the capability set, and the target capability module is parameterized according to the motion behavior parameters to obtain the target debugging program.

[0017] In some embodiments, the method described in the present disclosure further includes:

[0018] In response to receiving the engine debugging parameters input through the visual operation interface, an engine debugging program for debugging the robot engine is generated according to the engine debugging parameters, and the engine debugging program is run.

[0019] In a second aspect, an embodiment of the present disclosure provides a robot debugging method, which is applied to a user terminal, and the method includes:

[0020] Sending a debugging request to the robot, and outputting and displaying a visual operation interface provided by the robot according to the debugging request;

[0021] Behavior debugging parameters are generated based on user instructions inputted from the visual operation interface, and the behavior debugging parameters are sent to the robot.

[0022] In some implementations, the behavior debugging parameters include module identification information; and the generating of the behavior debugging parameters based on the user instruction inputted from the visual operation interface includes:

[0023] Outputting description data showing the capability set of the robot based on the interface description file sent by the robot;

[0024] Receiving the user instruction through the visual operation interface, and determining the module identification information according to the user instruction and the description data;

[0025] The behavior debugging parameter is generated according to the module identification information.

[0026] In a third aspect, an embodiment of the present disclosure provides a robot debugging device, which is applied to a robot, and the device includes:

[0027] A visualization module, configured to output a visualization operation interface to the user terminal in response to receiving a debugging request sent by the user terminal;

[0028] A determination module is configured to, in response to receiving a behavior debugging parameter input through the visual operation interface, determine a target capability module from a pre-established capability set according to module identification information included in the behavior debugging parameter; the capability set includes a plurality of capability modules, and the capability module includes one or more basic capabilities of the robot;

[0029] The debugging module is configured to generate a corresponding target debugging program according to the target capability module and the behavior debugging parameters, and run the target debugging program.

[0030] In some embodiments, the apparatus described in the present disclosure further includes a capability set construction module, wherein the capability set construction module is configured to:

[0031] Classify the basic capabilities of the robot according to preset categories to obtain the capability module corresponding to each category;

[0032] The capability set is constructed according to the capability modules corresponding to each category.

[0033] In some implementations, the capability set building module is configured to:

[0034] For each category, one or more capability submodules are constructed based on at least one basic capability corresponding to the category;

[0035] The capability module corresponding to the category is obtained according to the basic capability and the capability submodule.

[0036] In some embodiments, the behavior debugging parameters include motion behavior parameters of the robot; and the debugging module is configured to:

[0037] The target capability module is called based on the program interface of the capability set, and the target capability module is parameterized according to the motion behavior parameters to obtain the target debugging program.

[0038] In some implementations, the debugging module is configured to:

[0039] In response to receiving the engine debugging parameters input through the visual operation interface, an engine debugging program for debugging the robot engine is generated according to the engine debugging parameters, and the engine debugging program is run.

[0040] In a fourth aspect, an embodiment of the present disclosure provides a robot debugging device, which is applied to a user terminal, and the device includes:

[0041] A display module is configured to send a debugging request to the robot, and output and display a visual operation interface provided by the robot according to the debugging request;

[0042] The sending module is configured to generate behavior debugging parameters based on user instructions input through the visual operation interface, and send the behavior debugging parameters to the robot.

[0043] In some implementations, the behavior debugging parameter includes module identification information; and the sending module is configured to:

[0044] Outputting description data showing the capability set of the robot based on the interface description file sent by the robot;

[0045] Receiving the user instruction through the visual operation interface, and determining the module identification information according to the user instruction and the description data;

[0046] The behavior debugging parameter is generated according to the module identification information.

[0047] In a fifth aspect, an embodiment of the present disclosure provides a robot, comprising:

[0048] processor;

[0049] A memory storing computer instructions, wherein the computer instructions are used to enable a processor to execute the method according to any embodiment of the first aspect.

[0050] In a sixth aspect, an embodiment of the present disclosure provides a storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in any embodiment of the first aspect or the second aspect.

[0051] The robot debugging method of the disclosed embodiment includes outputting a visual operation interface to the user terminal in response to receiving a debugging request sent by the user terminal, determining the target capability module from a pre-established capability set according to the module identification information included in the behavior debugging parameters input through the visual operation interface, and generating and running a target debugging program according to the target capability module and the behavior debugging parameters. In the disclosed embodiment, the robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the capabilities of the robot can be called through the capability set, so as to realize flexible combination calling between basic capabilities, simplify debugging programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0053] Figure 1 It is a scene schematic diagram of the robot control method in some embodiments of the present disclosure.

[0054] Figure 2 is a flowchart of a robot control method according to some embodiments of the present disclosure.

[0055] Figure 3 It is a schematic diagram of a visual operation interface in some embodiments of the present disclosure.

[0056] Figure 4 is a flowchart of a robot control method according to some embodiments of the present disclosure.

[0057] Figure 5 It is a capability set architecture diagram according to some implementation modes of the present disclosure.

[0058] Figure 6 is a flowchart of a robot control method according to some embodiments of the present disclosure.

[0059] Figure 7 It is a system architecture diagram of a robot control method according to some embodiments of the present disclosure.

[0060] Figure 8 is a flowchart of a robot control method according to some embodiments of the present disclosure.

[0061] Fig. 9 is a flowchart of a robot control method according to some embodiments of the present disclosure.

[0062] Fig.10 It is a structural block diagram of a robot control device according to some embodiments of the present disclosure.

[0063] Fig.11 It is a structural block diagram of a robot control device according to some embodiments of the present disclosure.

[0064] Fig.12 It is a structural block diagram of a robot according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0065] The technical solution of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described implementation is a part of the implementation of the present disclosure, rather than all the implementations. Based on the implementation in the present disclosure, all other implementations obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure. In addition, the technical features involved in the different implementations of the present disclosure described below can be combined with each other as long as they do not conflict with each other.

[0066] Bionic robots have excellent motion balance ability and rich operability, so research on bionic robots is one of the important directions in the field of robotics.

[0067] For example, a bipedal robot is a robot that imitates the human body. Its lower limbs can swing like humans to achieve operations such as walking, running, squatting, and jumping. At the same time, its upper limbs can imitate human arms to achieve operations such as arm swinging and grasping. Another example is a quadruped robot, which is a robot that imitates four-legged animals. Its limbs can swing like animals to achieve operations such as walking, running, and jumping. Quadruped robots often have good movement balance ability.

[0068] The above-mentioned bipedal robots and quadrupedal robots are both bionic robots. Robot behavior debugging has always been the core link of robot development, production and later maintenance. Robot debugging refers to debugging the various capabilities of the robot to ensure that the basic capabilities of the robot can be performed normally according to the expected functions.

[0069] The capabilities of a robot can be understood as the behavioral functions provided by the robot itself, such as joint movement, lighting, navigation, radar, voice and other functions, which can all be called the capabilities of the robot. Basic capabilities are the smallest unit modules that cannot be further divided for the robot's behavior, also known as the robot's atomic modules. Each basic capability of a robot is an independent program module built into the robot. When debugging a certain capability of the robot, the staff needs to write a corresponding computer program, then run the program, and test whether the capability is running correctly through the program running status.

[0070] However, in the related technologies, robots have many basic capabilities, and each part of the basic capabilities is developed independently. Therefore, when debugging the robot's behavior, it is necessary to program each capability separately and start and stop the program continuously, which makes the debugging operation very complicated. Moreover, the programming languages ​​of the basic capabilities of the robot may be different, so the interface languages ​​provided are also different, which brings difficulties to debugging programming. In addition, since each capability of the robot needs to be debugged independently, the capabilities cannot be flexibly combined and called, resulting in insufficient reliability of the debugging results. For example, multiple capabilities will not report errors during the debugging process separately, but there may be problems when they are called in combination.

[0071] Based on the defects of the above-mentioned related technologies, the embodiments of the present disclosure provide a robot and its debugging method, device, and storage medium, which aim to integrate, classify, and encapsulate the basic capabilities of the robot in advance and construct a capability set. When debugging the behavior, one or more basic capabilities can be directly called through the capability set without repeated programming and starting and stopping the operation, thereby improving debugging efficiency and reliability.

[0072] Figure 1 A schematic diagram of the application scenario of the robot in some embodiments of the present disclosure is shown below. Figure 1 Provide explanation.

[0073] like Figure 1 As shown, in the scenario of the robot and the debugging method thereof of the example of the present disclosure, a user terminal 100 and a robot 200 are included, and the user terminal 100 and the robot 200 establish a communicative connection through wired or wireless communication.

[0074] The user terminal 100 refers to the user device end. The user can edit the front-end information in the user terminal 100 and then send the front-end information to the robot 200. The front-end information can be, for example, a debugging request, a behavior debugging parameter, etc. In the embodiments of the present disclosure, the user terminal 100 can be any device type suitable for implementation, for example, it can be a smart phone, a tablet computer, a laptop computer, etc., and the present disclosure does not limit this.

[0075] The robot 200 refers to the target object of behavior control. The robot behavior described in the embodiments of the present disclosure refers to any state change that occurs on the robot. For example, the robot behavior may include the movement of the robot, and may also include the robot making voice, vibration, etc., which are not limited in the present disclosure. In the embodiments of the present disclosure, the robot 200 may be a robot of any form, such as a bipedal robot, a quadrupedal robot, etc., which are not limited in the present disclosure.

[0076] Based on the above scenario, the following Figure 2 A robot debugging method according to an embodiment of the present disclosure is described.

[0077] In some embodiments, the present disclosure provides a robot debugging method, which can be applied to the aforementioned robot 200. The debugging method includes:

[0078] S210: In response to receiving a debugging request sent by a user terminal, output a visual operation interface to the user terminal.

[0079] In the disclosed embodiment, when debugging the robot behavior, a visual operation interface can be output and displayed to the user on the user terminal, so that the user can implement programming of the debugging program through the visual operation interface.

[0080] In some embodiments, in combination Figure 1As shown in the scenario, on the user terminal 100 side, when the user debugs the robot's behavior, the user terminal 100 can send a debugging request to the robot 200. After receiving the debugging request sent by the user terminal 100, the robot 200 returns the operation interface data to the user terminal 100. After receiving the operation interface data sent by the robot, the user terminal 100 side can output and display the corresponding visual operation interface on the display screen.

[0081] In one example, the visual operation interface can be as follows: Figure 3 As shown, Figure 3 The example visual operation interface includes relevant editing windows such as the robot's current status, motion capability control, and motion parameter settings.

[0082] S220 . In response to receiving the behavior debugging parameters input through the visual operation interface, determine a target capability module from a pre-established capability set according to module identification information included in the behavior debugging parameters.

[0083] In the disclosed embodiment, each basic capability of the robot may be integrated, classified and packaged in advance to obtain a capability set of the robot. The capability set may include multiple different capability modules according to capability categories, and each capability module includes at least one basic capability.

[0084] In some embodiments, the robot can be pre-divided into multiple preset categories according to its different capabilities, and then all the basic capabilities of the robot can be classified into each preset category. Then, the corresponding capability modules are constructed according to the basic capabilities included in each preset category, and finally, the capability modules corresponding to all categories are integrated to obtain the robot's capability set.

[0085] For example, in one example, the capability set described in the present disclosure includes a "Motion" capability module, which includes all basic capabilities for controlling the motion of each joint of the robot, such as waist joint motion capability, hip joint motion capability, knee joint motion capability, ankle joint motion capability, etc. When programming for robot motion tasks, users can call and arbitrarily combine the basic capabilities in the "Motion" capability module through the API interface provided by the capability set to achieve robot motion control.

[0086] In the implementation manner of the present disclosure, the process of constructing the capability set is described in the implementation manner below of the present disclosure and will not be described in detail here.

[0087] Combination Figure 3 As shown, on the user terminal 100 side, the user can input user instructions through the visual operation interface, so that the user terminal 100 obtains corresponding behavior debugging parameters according to the user instructions and sends the behavior debugging parameters to the robot 200.

[0088] In the embodiments of the present disclosure, the behavior debugging parameters refer to the relevant parameters used to program the debugging program. It can be understood that the debugging program needs to call one or more basic capabilities of the robot. In the embodiments of the present disclosure, the basic capabilities of the robot are classified and encapsulated in various capability modules of the capability set. Therefore, the behavior debugging parameters may include the module identification information corresponding to the capability module that needs to be called.

[0089] That is, when constructing a capability set, unique module identification information, such as module ID (Identity document, identity identifier) ​​can be set for each capability module in the capability set. Thus, after receiving the behavior debugging parameters sent by the user terminal 100, the robot 200 determines one or more capability modules to be called from the capability set according to the module identification information carried in the behavior debugging parameters, that is, the target capability module described in the present disclosure.

[0090] S230: Generate a corresponding target debugging program according to the target capability module and the behavior debugging parameters, and run the target debugging program.

[0091] After determining the target capability module, the debugging program can be programmed according to the behavior debugging parameters and the called target capability module to obtain the corresponding target debugging program for debugging the robot behavior.

[0092] For example, in one example, the user's debugging target for the robot is "motion capability debugging", so the behavior debugging parameters may include motion behavior parameters and module identification information of the "motion" capability module. The robot 200 receives the module identification information of the "motion" capability module included in the behavior debugging parameters, determines that the "motion" capability module is the target capability module, and then configures the basic capability parameters in the "motion" capability module according to the motion behavior parameters included in the behavior debugging parameters, completes the programming of the debugging program, obtains the target debugging program for the robot motion capability debugging, and runs it.

[0093] It can be understood that in the disclosed embodiments, the capability set includes all the basic capabilities of the robot, and since all the basic capabilities are integrated in the same capability set, each capability module can be compiled based on the same programming language. When debugging the robot's behavior, all the basic capabilities of the robot can be called only through the API interface provided by the capability set, and the various capabilities can be flexibly combined and called for programming. On the one hand, multiple capabilities of the robot can be debugged in the same program without repeated programming and start-stop operation, simplifying programming operations and improving debugging efficiency; on the other hand, through the combined calling programming of various capabilities, the interactive integration performance between capabilities can be effectively debugged, improving the robot debugging effect.

[0094] From the above, it can be seen that in the embodiments of the present disclosure, the robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the robot capabilities can be called through the capability set to achieve flexible combination calls between basic capabilities, simplify debugging and programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging.

[0095] like Figure 4 As shown, in some embodiments, in the robot debugging method of the example of the present disclosure, the process of pre-establishing a capability set includes:

[0096] S410: Classify the basic capabilities of the robot according to preset categories to obtain capability modules corresponding to each category.

[0097] S420: Construct a capability set based on capability modules corresponding to each category.

[0098] In the disclosed embodiment, firstly, all basic capabilities of the robot may be integrated, and then the basic capabilities may be divided into a plurality of preset categories according to different capability types, each category including at least one basic capability, and then the capability module corresponding to each category may be constructed according to the basic capabilities included in each category.

[0099] For example, in one example, the preset categories of robot capabilities may include: audio capability, lighting effect capability, touchpad capability, positioning capability, power management capability, depth detection capability, radar detection capability, inertial data detection capability, odometer capability, ultrasonic communication capability, skin control capability, network capability, motion capability, navigation capability, target following capability, face recognition capability, voiceprint recognition capability, gesture recognition capability, personnel information management capability, and task management capability, totaling 20 categories of capabilities.

[0100] Therefore, all basic capabilities can be classified according to the above 20 preset categories, that is, the basic capabilities are classified according to the above preset categories, wherein each category includes at least one basic capability.

[0101] After integrating and classifying the basic capabilities of the robot, the capability modules corresponding to each category can be constructed based on the basic capabilities included in each category, that is, the capability modules corresponding to the above 20 categories are obtained, which are:

[0102] 1. Audio module

[0103] It may include a series of basic audio-related capabilities such as recording sound effects / audio, playing audio, playing text, and online conversations.

[0104] 2. Lighting effect (Led) module

[0105] It may include a series of basic capabilities related to lighting effects, such as playing, pausing, and changing the lighting effects of the robot's headlights, taillights, and eye lights.

[0106] 3. Touchpad module

[0107] It can include a series of basic capabilities related to the robot touchpad, such as querying the touchpad status and data.

[0108] 4. Positioning (GPS) module

[0109] It may include a series of basic capabilities related to the robot's satellite positioning GPS function, such as querying GPS status and data.

[0110] 5. Battery System (BMS) Module

[0111] It may include a series of basic capabilities related to the robot's BMS (Battery Management System) functions, such as battery charge, voltage, current, temperature, etc.

[0112] 6. Depth detection (ToF) module

[0113] It may include robot depth detection capabilities, such as ToF (Time of flight) data detection.

[0114] 7. Lidar module

[0115] It may include a series of basic capabilities related to the robot's radar functions, such as querying radar status and detection data.

[0116] 8. Inertial navigation (IMU) module

[0117] It can include a series of basic capabilities related to the robot's IMU (Inertial Measurement Unit), such as querying IMU status and detection data.

[0118] 9. Odometer module

[0119] It may include a series of basic capabilities related to the robot's odometer, such as querying the odometer status and data.

[0120] 10. Ultrasonic module

[0121] It may include a series of basic capabilities related to robot ultrasound, such as querying the status and data of ultrasonic sensors.

[0122] 11. Skin module

[0123] It may include basic capabilities related to robot skin, such as controlling skin state, etc.

[0124] 12. Network module

[0125] It may include a series of basic capabilities related to robot network information, such as controlling robot networks, etc.

[0126] 13. Motion module

[0127] It may include a series of basic capabilities related to the movement of robot joints, such as controlling the movement of each joint.

[0128] 14. Navigation module

[0129] It may include a series of basic capabilities related to robot navigation functions, such as controlling the robot to navigate to the target location in an existing map.

[0130] 15. Follow module

[0131] It may include the basic ability of the robot to follow a target, such as following the movement of a target object.

[0132] 16. Face Recognition Module

[0133] It may include a series of basic capabilities related to robot face recognition, such as collecting face images, performing face recognition based on image libraries, confirming target persons, etc.

[0134] 17. Voiceprint module

[0135] It may include a series of basic capabilities related to robot voiceprint recognition, such as voiceprint collection, voiceprint recognition based on voiceprint library, confirmation of target personnel, etc.

[0136] 18. Gesture Recognition Module

[0137] It may include a series of basic capabilities related to robot gesture recognition, such as gesture image acquisition, gesture recognition based on gesture library, and confirmation of target personnel.

[0138] 19. Personnel Information Management (Personnel) Module

[0139] It may include a series of basic capabilities related to the acquisition of robot personnel information, such as obtaining the above-mentioned database information.

[0140] 20. Task Management Module

[0141] It may include basic capabilities for robot task control, such as controlling the running, pausing, and terminating of the current task.

[0142] In this example, the capability set of the robot is obtained by encapsulating the capability modules constructed above. The architecture of the capability set of the robot can be shown as follows: Figure 5 shown.

[0143] exist Figure 5 In the capability set architecture shown, the capability set includes not only the 20 capability modules mentioned above, but also the robot (Cyberdog) module and the capability set interface (Abilityset) module. The robot module is mainly responsible for providing the overall capabilities of the robot, covering the above 20 capability modules. The capability set interface module is responsible for providing the API interface of the entire capability set, which also involves the above 20 capability modules, so that one or more basic capabilities of any capability module in the capability set can be called through the API interface.

[0144] From the above, it can be seen that in the embodiments of the present disclosure, the robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the robot capabilities can be called through the capability set to achieve flexible combination calls between basic capabilities, simplify debugging and programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging.

[0145] It is worth mentioning that in the traditional solution described above, when programming the debugging program, the user needs to program based on the robot's most basic capabilities. For more complex programs, a large number of basic capabilities need to be called, resulting in high programming difficulty and complex operation.

[0146] Based on this, in some embodiments of the present disclosure, when encapsulating each capability module, a higher-level capability submodule can be pre-built based on the basic capability to simplify the user task programming operation. Figure 6 The implementation method is described.

[0147] like Figure 6 As shown, in some embodiments, the robot debugging method of the example of the present disclosure, the process of building the capability module of each category includes:

[0148] S610: For each category, construct one or more capability sub-modules according to at least one basic capability corresponding to the category.

[0149] S620: Obtain a capability module corresponding to the category according to the basic capability and the capability submodules.

[0150] In the embodiments of the present disclosure, based on the foregoing, it can be known that the basic capability of the robot refers to the smallest behavior module that cannot be further divided, and the capability submodule described in the present disclosure is a higher-level capability built based on one or more basic capabilities, which can be understood as a combination of multiple basic capabilities of the robot.

[0151] In the disclosed implementation, for each category, a capability submodule may be constructed based on one or more basic capabilities of the category, and then these capability submodules and the original basic capabilities may be packaged into a capability module.

[0152] For example, in one example, the on and off of the robot's eye lights correspond to a basic capability respectively. If the user expects the robot to perform a task of "the eye lights turn on and off alternately at a fixed time". In the related technical solution, in the task programming, it is necessary to set the robot's eye lights to continuously and alternately call these two basic capabilities at a fixed time. In the embodiment of the present disclosure, these two basic capabilities that respectively control the on and off of the robot's eye lights can be constructed into a capability submodule. When programming and debugging the program, the user can directly call the capability submodule to implement the programming of the above program, which greatly simplifies the programming difficulty.

[0153] The above description only takes one capability module as an example, and any capability module can be constructed through the above process, and the present disclosure will not repeat it. After obtaining each capability module, the final robot capability set can be constructed through the above process.

[0154] From the above, it can be seen that in the embodiment of the present disclosure, each capability module in the capability set includes a capability sub-module constructed based on the basic capability. The capability sub-module is higher-level than the basic capability, thereby further simplifying the user programming operation and improving the robot debugging effect.

[0155] exist Figure 5 Based on the capability set architecture shown, Figure 7 A system architecture diagram of a debugging method in some embodiments of the present disclosure is shown.

[0156] like Figure 7As shown, in some embodiments, the system architecture of the debugging method of the example of the present disclosure includes a terminal interaction module (interaction), which mainly provides the interaction capability between the robot and the user terminal. A capability set module (Cyberdogabilityset), the capability set module is the aforementioned capability set, which provides the program interface of all capability modules of the robot. A visualization module (Cyberdog visual), which is used to provide a visual operation interface for the user terminal. An interface module (interface), which is mainly used to provide interface help documents and corresponding example functions of each capability module of the robot in the visual operation interface, so that the user can obtain the usage of all capability module interfaces in the visual operation interface of the user terminal, helping the user to get started with the robot function faster. A debugging module (debug), which is mainly used by users to debug core functions in the robot behavior debugging scenario. The robot behavior debugging module is mainly used to debug the various capabilities of the robot through the visual operation interface, and the motion control of various actions and gaits can be completed through the visual interface. A robot engine debugging module (engine), which is mainly used to call the interface in the debugging scenario to realize the debugging of the robot engine in various states, including operating single or periodic tasks.

[0157] exist Figure 7 Based on the system architecture shown, in an example, taking the robot motion capability debugging as an example, in Figure 3 In the visual operation interface of the user terminal 100 shown, the user can select the module identification information corresponding to the required capability module according to the description data of the robot capability set provided by the interface module, and set the corresponding motion behavior parameters at the same time. The motion behavior parameters, for example, include parameters such as robot motion speed (velocity), center of mass position (centroid), fulcrum (fulcrum), joint angle (angle). The user terminal 100 generates corresponding debugging parameters based on the module identification information and motion behavior parameters input by the user and sends them to the robot 200.

[0158] As described above, after receiving the behavior debugging parameters, the robot 200 can determine and retrieve the target capability module from the capability set according to the module identification information included in the behavior debugging parameters, and then configure one or more basic task parameters in these target capability modules according to the motion behavior parameters included in the behavior debugging parameters, thereby completing the programming of the debugging program and obtaining the target debugging program.

[0159] Combination Figure 7As shown, in some embodiments, the debugging module (debug) can be used not only to debug various behavioral capabilities of the robot, but also to debug the robot engine. The robot engine is used to manage and operate the robot's running tasks. In the embodiments of the present disclosure, the debugging of the robot engine capabilities is implemented based on the debugging module (debug).

[0160] For example, in some embodiments, Figure 3 The visual operation interface shown can provide an interactive box for debugging the robot engine. The user can set the corresponding engine debugging parameters through the interactive box and send the engine debugging parameters to the robot 200. After receiving the engine debugging parameters, the robot 200 can generate the corresponding engine debugging program according to the engine debugging parameters and run the generated engine debugging program to realize the debugging of the robot engine capabilities.

[0161] As can be seen from the above, in the disclosed embodiment, by integrating and classifying the robot capabilities to obtain a robot capability set, all robot capabilities can be called through the capability set, and flexible combination calls between basic capabilities can be achieved, which simplifies debugging and programming operations, improves debugging efficiency, and improves the reliability of robot behavior debugging. In addition, the robot engine can be debugged to improve the robot debugging effect.

[0162] Combination Figure 1 In some embodiments, the present disclosure provides a robot debugging method, which can be applied to the user terminal 100. Figure 8 The implementation method is described.

[0163] like Figure 8 As shown, in some embodiments, the robot debugging method of the present disclosure example includes:

[0164] S810: Send a debugging request to the robot, and output a visual operation interface provided by the robot according to the debugging request.

[0165] S820. Generate behavior debugging parameters based on the user instructions input into the visual operation interface, and send the behavior debugging parameters to the robot.

[0166] Combination Figure 1 and Figure 7As shown in FIG. 1 , when debugging the behavior of the robot, the user can send a debugging request to the robot 200 through the user terminal 100. After receiving the debugging request, the robot 200 provides the user terminal 100 with relevant data of the visual operation interface through the visualization module (Cyberdogvisual). After receiving the data provided by the robot 200, the user terminal 100 generates a visual operation interface on the display screen according to the data. In one example, the visual operation interface can be as follows: Figure 3 The user can, for example, Figure 3 The visual operation interface shown is used to input user instructions, which may include module identification information of the capability module in the capability set that needs to be called. Corresponding behavior debugging parameters are then generated according to the user instructions, and the behavior debugging parameters are sent to the robot, so that the robot 200 generates a corresponding debugging program based on the aforementioned method process. Those skilled in the art can understand and fully implement it by referring to the aforementioned, and the present disclosure will not elaborate on this.

[0167] In some implementations, in order to facilitate the user to more quickly understand the interface information of each capability module in the capability set, the user terminal 100 can Figure 7 The interface module (interface) shown in the figure provides an interface description file for the user terminal. Fig. 9 The implementation method is described.

[0168] like Fig. 9 As shown, in some embodiments, the robot debugging method of the present disclosure example generates a behavior debugging parameter based on a user instruction, including:

[0169] S910. Based on the interface description file sent by the robot, output description data showing the capability set of the robot.

[0170] S920. Receive a user instruction through a visual operation interface, and determine module identification information according to the user instruction and the description data.

[0171] S930: Generate behavior debugging parameters according to the module identification information.

[0172] Combination Figure 7 As shown, in the embodiment of the present disclosure, on the robot 200 side, when the robot 200 receives a debugging request sent by the user terminal 100, in addition to providing relevant data of the visual operation interface of the user terminal 100 through the visualization module (Cyberdog visual), an interface description file is also provided to the user terminal through the interface module (interface), and the interface description file includes interface data of all capability modules in the robot capability set and interface data of the debugging module (debug).

[0173] On the user terminal 100 side, the user terminal 100 can output and display on the display screen according to the relevant data of the visual operation interface, for example Figure 3 The visual operation interface shown can also display the robot capability set and the description data corresponding to the debugging module in the visual operation interface according to the received interface description file.

[0174] The user can easily understand the interface data and related configuration information of each capability module based on the displayed description data. Thus, the user can select the required capability module from the capability set based on the description data, and input the user instruction in the visual operation interface. The user terminal 100 can determine the module identification information of the capability module in the capability set that the user needs to call based on the user instruction input by the user and the interface data of each capability module in the description data, and then generate the behavior debugging parameters based on the module identification information, and then send the behavior debugging parameters to the robot 200.

[0175] In addition, it is worth noting that in the above example, only the interaction between a single user terminal and a robot is used as an example to illustrate the robot debugging method disclosed in the present invention. In fact, the embodiments of the present invention are not limited to the interactive communication between a single user terminal and a robot. For example, Figure 1 As shown, two or more user terminals can be connected to the robot 200 at the same time to achieve multi-person collaborative debugging. The interaction process between each user terminal 100 and the robot 200 can be found in the above description, which will not be repeated in this disclosure.

[0176] From the above, it can be seen that in the embodiments of the present disclosure, the robot is debugged based on the visual interaction between the user terminal and the robot, which improves the user debugging experience, facilitates the user to perform secondary development of the robot's capabilities, and improves the robot control effect and debugging efficiency.

[0177] In some embodiments, the present disclosure provides a robot debugging device, which can be applied to the aforementioned robot 200.

[0178] like Fig.10 As shown, in some embodiments, the robot debugging device of the example of the present disclosure includes:

[0179] The visualization module 10 is configured to output a visualization operation interface to the user terminal in response to receiving a debugging request sent by the user terminal;

[0180] The determination module 20 is configured to, in response to receiving the behavior debugging parameters input through the visual operation interface, determine the target capability module from a pre-established capability set according to the module identification information included in the behavior debugging parameters; the capability set includes a plurality of capability modules, and the capability module includes one or more basic capabilities of the robot;

[0181] The debugging module 30 is configured to generate a corresponding target debugging program according to the target capability module and the behavior debugging parameters, and run the target debugging program.

[0182] From the above, it can be seen that in the embodiments of the present disclosure, the robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the robot capabilities can be called through the capability set to achieve flexible combination calls between basic capabilities, simplify debugging and programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging.

[0183] In some embodiments, the apparatus described in the present disclosure further includes a capability set construction module, wherein the capability set construction module is configured to:

[0184] Classify the basic capabilities of the robot according to preset categories to obtain the capability module corresponding to each category;

[0185] The capability set is constructed according to the capability modules corresponding to each category.

[0186] From the above, it can be seen that in the embodiments of the present disclosure, the robot capability set is obtained by integrating, classifying and packaging the robot capabilities, and all the robot capabilities can be called through the capability set to achieve flexible combination calls between basic capabilities, simplify debugging and programming operations, improve debugging efficiency, and improve the reliability of robot behavior debugging.

[0187] In some implementations, the capability set building module is configured to:

[0188] For each category, one or more capability submodules are constructed based on at least one basic capability corresponding to the category;

[0189] The capability module corresponding to the category is obtained according to the basic capability and the capability submodule.

[0190] From the above, it can be seen that in the embodiment of the present disclosure, each capability module in the capability set includes a capability sub-module constructed based on the basic capability. The capability sub-module is higher-level than the basic capability, thereby further simplifying the user programming operation and improving the robot debugging effect.

[0191] In some embodiments, the behavior debugging parameters include motion behavior parameters of the robot; the debugging module 30 is configured to:

[0192] The target capability module is called based on the program interface of the capability set, and the target capability module is parameterized according to the motion behavior parameters to obtain the target debugging program.

[0193] In some implementations, the debugging module 30 is configured to:

[0194] In response to receiving the engine debugging parameters input through the visual operation interface, an engine debugging program for debugging the robot engine is generated according to the engine debugging parameters, and the engine debugging program is run.

[0195] As can be seen from the above, in the disclosed embodiment, by integrating and classifying the robot capabilities to obtain a robot capability set, all robot capabilities can be called through the capability set, and flexible combination calls between basic capabilities can be achieved, which simplifies debugging and programming operations, improves debugging efficiency, and improves the reliability of robot behavior debugging. In addition, the robot engine can be debugged to improve the robot debugging effect.

[0196] In some embodiments, the present disclosure provides a robot debugging device, which can be applied to the aforementioned user terminal 100.

[0197] like Fig.11 As shown, in some embodiments, the robot debugging device of the example of the present disclosure includes:

[0198] The display module 40 is configured to send a debugging request to the robot, and output a visual operation interface provided by the robot according to the debugging request;

[0199] The sending module 50 is configured to generate behavior debugging parameters based on the user instructions input through the visual operation interface, and send the behavior debugging parameters to the robot.

[0200] In some implementations, the behavior debugging parameter includes module identification information; the sending module 50 is configured to:

[0201] Outputting description data showing the capability set of the robot based on the interface description file sent by the robot;

[0202] Receiving the user instruction through the visual operation interface, and determining the module identification information according to the user instruction and the description data;

[0203] The behavior debugging parameter is generated according to the module identification information.

[0204] From the above, it can be seen that in the embodiments of the present disclosure, the robot is debugged based on the visual interaction between the user terminal and the robot, which improves the user debugging experience, facilitates the user to perform secondary development of the robot's capabilities, and improves the robot control effect and debugging efficiency.

[0205] In some embodiments, the present disclosure provides a robot, comprising:

[0206] processor;

[0207] A memory stores computer instructions, wherein the computer instructions are used to enable a processor to execute the method described in any of the above embodiments.

[0208] In some embodiments, the present disclosure provides an example storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in any of the above embodiments.

[0209] Specifically, Fig.12 A schematic diagram of the structure of a robot 600 suitable for implementing the method disclosed in the present invention is shown. Fig.12 The robot shown can realize the corresponding functions of the above-mentioned processor and storage medium.

[0210] like Fig.12 As shown, the robot 600 includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a memory 602 or a program loaded from a storage part 608 into the memory 602. In the memory 602, various programs and data required for the operation of the robot 600 are also stored. The processor 601 and the memory 602 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0211] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0212] In particular, according to an embodiment of the present disclosure, the above method process can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the above method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from a removable medium 611.

[0213] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0214] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the embodiments. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.

Claims

1. A robot debugging method, characterized in that: Applied to a robot, the method comprises: In response to receiving a debugging request sent by a user terminal, outputting a visual operation interface to the user terminal; In response to receiving the behavior debugging parameters input through the visual operation interface, determining a target capability module from a pre-established capability set according to the module identification information included in the behavior debugging parameters; the capability set includes a plurality of capability modules, and the capability module includes one or more basic capabilities of the robot; Generate a corresponding target debugging program according to the target capability module and the behavior debugging parameters, and run the target debugging program; Wherein, the behavior debugging parameters include motion behavior parameters of the robot, and the generating of the corresponding target debugging program according to the target capability module and the behavior debugging parameters includes: The target capability module is called through the capability set interface module included in the capability set, and the target capability module is parameterized according to the motion behavior parameters to obtain the target debugging program; the capability set interface module is an interface for calling all capability modules.

2. The method according to claim 1, characterized in that The process of pre-establishing the capability set includes: Classify the basic capabilities of the robot according to preset categories to obtain the capability module corresponding to each category; The capability set is constructed according to the capability modules corresponding to each category.

3. The method according to claim 2, characterized in that The basic capabilities of the robot are classified according to preset categories to obtain the capability modules corresponding to each category, including: For each category, one or more capability submodules are constructed based on at least one basic capability corresponding to the category; The capability module corresponding to the category is obtained according to the basic capability and the capability submodule.

4. The method according to claim 1, characterized in that: Also includes: In response to receiving the engine debugging parameters input through the visual operation interface, an engine debugging program for debugging the robot engine is generated according to the engine debugging parameters, and the engine debugging program is run.

5. A robot debugging method, characterized in that: Applied to a user terminal, the method comprises: Sending a debugging request to the robot, and outputting and displaying a visual operation interface provided by the robot according to the debugging request; Generate behavior debugging parameters based on user instructions inputted from the visual operation interface, and send the behavior debugging parameters to the robot, so that the robot is debugged according to the method according to any one of claims 1 to 4.

6. The method according to claim 5, characterized in that The behavior debugging parameters include module identification information; the generating of the behavior debugging parameters based on the user instructions inputted from the visual operation interface includes: Outputting description data showing the capability set of the robot based on the interface description file sent by the robot; Receiving the user instruction through the visual operation interface, and determining the module identification information according to the user instruction and the description data; The behavior debugging parameter is generated according to the module identification information.

7. A robot debugging device, characterized in that: Applied to a robot, the device comprises: A visualization module, configured to output a visualization operation interface to the user terminal in response to receiving a debugging request sent by the user terminal; A determination module is configured to, in response to receiving a behavior debugging parameter input through the visual operation interface, determine a target capability module from a pre-established capability set according to module identification information included in the behavior debugging parameter; the capability set includes a plurality of capability modules, and the capability module includes one or more basic capabilities of the robot; A debugging module, configured to generate a corresponding target debugging program according to the target capability module and the behavior debugging parameters, and run the target debugging program; Wherein, the behavior debugging parameters include motion behavior parameters of the robot, and the debugging module is configured as follows: The target capability module is called through the capability set interface module included in the capability set, and the target capability module is parameterized according to the motion behavior parameters to obtain the target debugging program; the capability set interface module is an interface for calling all capability modules.

8. A robot debugging device, characterized in that: Applied to a user terminal, the device comprises: A display module is configured to send a debugging request to the robot, and output and display a visual operation interface provided by the robot according to the debugging request; The sending module is configured to generate behavior debugging parameters based on user instructions input from the visual operation interface, and send the behavior debugging parameters to the robot, so that the robot is debugged according to the method according to any one of claims 1 to 4.

9. A robot, characterized in that: include: processor; A memory storing computer instructions, wherein the computer instructions are used to enable a processor to execute the method according to any one of claims 1 to 4.

10. A storage medium, characterized in that: Computer instructions are stored, and the computer instructions are used to make a computer execute the method according to any one of claims 1 to 4.