Robot testing method, robot and storage medium
By using an automated test method combining robotic arm finger sensor and microphone in a delivery robot, response information is obtained to analyze the test results, the problem of low detection accuracy caused by manual observation is solved, and efficient and accurate door-knock aging test is achieved.
Patent Information
- Application Number
- CN202411120029.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-14
AI Technical Summary
In the aging test, existing delivery robots have low detection accuracy, time-consuming and labor-intensive results due to manual observation, and may cause inaccurate detection results due to observer fatigue.
By obtaining the response information of the robot when performing a knock-knock test, automatically analyzes the test results and generates a test report, and automates the test using a combination of a robotic arm finger sensor and a microphone to improve detection efficiency and accuracy.
It realizes automated detection in robot door knocking aging test, improves detection efficiency and accuracy, reduces manual errors, and improves the reliability of the test.
Smart Images

Figure CN119077794A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot technology, and in particular to a robot testing method, a robot and a storage medium. Background Art
[0002] Delivery robots with robotic arms are widely used in warehouses, hospitals, hotels and other environments, which can effectively improve delivery efficiency and reduce labor costs. Before these robots are officially put into daily use, they must undergo a series of rigorous tests, especially aging tests, to ensure that they can work stably for a long time.
[0003] When performing a knock test on a delivery robot, it is usually conducted by manual observation. However, when conducting an aging test, the robot may be required to perform a delivery task every 5 minutes for an entire night. In this test mode, the method of continuous manual observation of the working status of the robotic arm is not only time-consuming and labor-intensive, but may also lead to inaccurate test results due to factors such as observer fatigue. Therefore, the current knock aging test of delivery robots has the defect of low detection accuracy.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a robot testing method, a robot and a storage medium, aiming to solve the technical problem of low detection accuracy in manual door knocking aging tests.
[0006] To achieve the above objectives, the present application proposes a robot testing method, the method comprising:
[0007] Obtain the response information received when the robot performs the knock test action based on the test instruction;
[0008] A knock test result is generated according to the response information, and a test report is generated based on the knock test result.
[0009] In one embodiment, before the step of obtaining the response information received when the robot performs the knock test action based on the test instruction, the step further includes:
[0010] Obtaining knock test configuration information and knock test instructions received by the configuration test interface of the test software;
[0011] Determine a test area according to the knock test configuration information;
[0012] The robot is controlled to move to a test area, and based on the knock test instruction, the robot is controlled to perform the knock test action.
[0013] In one embodiment, the step of controlling the robot to move to a test area and controlling the robot to perform the knock test action based on the knock test instruction includes:
[0014] Controlling the robot to move to the test area, and acquiring image information of the test area based on a depth camera;
[0015] generating a movement path of a mechanical arm of the robot according to the image information, and generating an operation sequence of the mechanical arm according to the knock test configuration information;
[0016] The robotic arm is controlled to move to a door knocking area based on the moving path, and the robotic arm is controlled to perform the door knocking test action according to the operation sequence.
[0017] In one embodiment, the step of controlling the mechanical arm to move to the door knocking area based on the moving path, and controlling the mechanical arm to perform the door knocking test action according to the operation sequence includes:
[0018] Controlling the mechanical arm to move to the knocking area based on the moving path;
[0019] After the robotic arm contacts the knocking area and detects pressure information or sensing state change information fed back by the sensing device of the robotic arm, the recording sensor and the sound recognition sensor are activated;
[0020] The robot arm is controlled to perform tapping based on the tapping frequency, the number of tapping times and the tapping interval corresponding to the operation sequence.
[0021] In one embodiment, the response information includes voice recognition information and recording information, and the step of generating a knock test result according to the response information includes:
[0022] When the sound recognition information is a knocking sound, generating the knocking test result indicating successful knocking;
[0023] When the sound recognition information is not a knocking sound, obtaining the recording information associated with the current knocking task;
[0024] If the knocking sound exists in the recording information, output the information that the sound recognition sensor is abnormal, and generate the knocking test result that the knocking is successful;
[0025] If the knocking sound does not exist in the recording information, the test result of knocking failure is generated.
[0026] In one embodiment, the response information further includes pressure data, and the step of generating the knock test result according to the response information includes:
[0027] determining the pressure data corresponding to the sound recognition information at the same time when the sound recognition information is received;
[0028] When the sound recognition information is the knocking sound and the pressure data is not empty, generating the knocking test result that the knocking is successful;
[0029] When the sound recognition information is not a knock sound and / or the pressure data is empty, the knock test result indicating a knock failure is generated.
[0030] In one embodiment, after the step of generating a knock test result according to the response information and generating a test report based on the knock test result, the method further includes:
[0031] When the knocking test result is a knocking failure, obtaining recording information of the test report and a knocking success rate;
[0032] When there is a sound frequency associated with a knock sound in the recording information, outputting information that the knock sound detection sensor is abnormal, and modifying the knock test result to indicate that the knock test is successful;
[0033] When the knocking success rate is greater than a preset success rate, the knocking test result is modified to a knocking test success.
[0034] In one embodiment, after the step of generating a knock test result according to the response information and generating a test report based on the knock test result, the method further includes:
[0035] When receiving the report viewing instruction, obtain the knock data test template;
[0036] The results of the test report are filled into the knocking data test template to generate knocking data, and the knocking data is output on the display end of the robot.
[0037] In addition, to achieve the above objectives, the present application also proposes a robot, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the robot testing method as described above.
[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the robot testing method described above are implemented.
[0039] One or more technical solutions proposed in this application have at least the following technical effects:
[0040] During the robot knocking aging test, the robot is controlled to perform the knocking test action based on the test instructions, and then the response information corresponding to the knocking test action is collected. The knocking test results are automatically analyzed based on the response information, and a test report is generated at the same time. Through the automated testing method, the knocking test detection efficiency and detection accuracy are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A system architecture diagram of a robot provided for the robot testing method of this application;
[0044] Figure 2 A schematic diagram of a first embodiment of a test method for a robot according to the present application;
[0045] Figure 3 A schematic diagram of a second embodiment of the process of the robot testing method of the present application;
[0046] Figure 4 Schematic diagram of the equipment structure of the hardware operating environment involved in the robot testing method in the embodiment of the present application.
[0047] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0049] The main solution of the embodiment of the present application is: obtaining the response information received when the robot performs the knocking test action based on the test instruction; generating the knocking test result according to the response information, and generating a test report based on the knocking test result.
[0050] In this embodiment, for ease of description, the following description is made with a robot as the execution subject.
[0051] In the prior art, when performing a knocking test on a delivery robot, it is usually conducted by manual observation. However, when conducting an aging test, the robot may be required to perform a delivery task every 5 minutes for an entire night. In this test mode, the method of manually observing the working status of the robotic arm is not only time-consuming and labor-intensive, but may also lead to inaccurate test results due to factors such as observer fatigue. Therefore, the current knocking aging test of the delivery robot has the defect of low detection accuracy.
[0052] This application provides a solution. During the robot knocking aging test, the robot is controlled to perform the knocking test action based on the test instruction, and then the response information corresponding to the knocking test action is collected. The knocking test result is automatically analyzed based on the response information, and a test report is generated at the same time. Through the automated testing method, the knocking test detection efficiency and detection accuracy are improved.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] The system architecture required for the robot to perform the knock test is as follows Figure 1 As shown, the robot includes a mechanical arm finger sensor, a microphone, a sensing unit, an execution unit and an interface configuration unit. Among them, the robot's mechanical arm finger sensor is used to detect whether the mechanical arm touches the test door in the test area, so that the knocking finger can knock the door accurately without knocking in vain. If the knocking finger touches the door, the sensor will have a corresponding value, such as a corresponding pressure value. If the sensor is a button, there will be corresponding sensor state change information, such as whether the button is in an activated state or a pop-up state. The microphone is used for voice dialogue during delivery and recording the sound of knocking. The sensing unit recognizes and converts the results of the mechanical finger perception and the knocking sound, and sends the final whether the door is sensed, whether the knocking sound is generated, or whether the sensed sound is a knocking sound to the execution unit. At the same time, during the entire knocking test process, the microphone is turned on and records the sound. The execution unit performs tasks according to the results of the interface configuration, and calculates the data of the sensing unit to determine whether the knocking is successful or failed, and generates a test report with the final results. The interface configuration unit is a configuration interface, which can configure the test points, the number of aging tests, view test reports, etc. The interface configuration unit corresponds to the test software installed on the robot. After starting the test software, the area, conditions, number of times, etc. that need to be tested are displayed in the interface configuration unit.
[0055] Optionally, the robot can analyze the distance between the area to be tapped and the robot in real time through the camera module, thereby generating a suitable operation sequence and controlling the fingers of the robotic arm to tap. There is no need to sense through the robotic arm finger sensor before tapping, which reduces the configuration of the sensor and effectively reduces the testing cost.
[0056] Based on the system architecture of the robot, the present application embodiment provides a robot testing method, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the testing method of the robot of the present application. In the embodiment of the present application, the robot is a delivery robot provided with a mechanical arm for knocking on doors.
[0057] In this embodiment, the robot testing method includes steps S10 to S20:
[0058] Step S10, obtaining response information received when the robot performs a knocking test action based on a test instruction;
[0059] It should be noted that the test command refers to the command generated when the tester clicks to start the test after configuring the knock test information through the test software. During the test, the robot first moves to the position to be tested according to the configuration information, and then controls the robotic arm to perform the knock action after determining the current door position through the depth camera.
[0060] As an optional implementation method of controlling the robot arm to perform the knocking action, the robot arm moves forward until the sensor contacts the test door, and then controls the robot finger to knock the door based on the signal after the touch. Alternatively, through camera analysis, the path that the robot arm needs to move and the command to perform the knocking after moving to a certain position are generated.
[0061] In this embodiment, if the robot is equipped with a finger sensor, the received response information includes voice recognition information, recording information, sensor pressure data and sensor change information, etc. Otherwise, the configuration information includes voice recognition information and recording information. By obtaining the response information received when the robot performs the knock test action, the current knock test result can be effectively analyzed based on the response information, thereby improving the efficiency of the knock test.
[0062] Step S20: Generate a knock test result according to the response information, and generate a test report based on the knock test result.
[0063] It should be noted that the knocking test results correspond to the two situations of successful knocking and failed knocking when the robot performs a single knocking action, while the test report is the test results corresponding to all knocking actions after completing the current knocking test process. In addition, the test report also records the recording file of the current test process and the test success rate.
[0064] For example, in the test information configured by the user, the robot is required to perform a knocking test task to room 8501 every 2 minutes, and a total of 500 tests are required. During the knocking process, the robot knocks three times within 1 second, and then knocks three times within 1 second again after an interval of 3 seconds, and repeats this three times. Based on this, after each test is completed, 9 knocking test results are generated, and the test report contains these 9 knocking test results and the recording information of the knocking process.
[0065] In this embodiment, the knock test result can be generated based on the sound recognition information such as the knock sound detected by the sound recognition sensor during the knock process, or directly based on the recording information of the knock process, or combined with the sound recognition information and the recording information to generate the knock test result, thereby improving the accuracy of the result. Furthermore, when the robot is equipped with a mechanical arm finger sensor, the knock test result can also be generated based on the above sound information and the sensor information at the same time.
[0066] As an optional implementation, when the robot arrives at the position to be knocked on the door and puts the robot arm finger on the door, the information feedback from the robot arm finger sensor, such as the sensing state information, is collected as True (indicating that the current sensing button is in the pressed state), and then the other robot arm fingers used for knocking are controlled to knock on the door. After the knocking is completed, the recording file of the knocking process is used to detect whether there is a knocking sound. If so, it is judged that the knocking is successful. In addition, the sound generated each time the door is knocked can be analyzed. If the sound is a knocking sound, a knocking test success result is generated. Or the judgment can be based on both the knocking sound and the recording information. In addition, the information feedback from the finger sensor can also be pressure data, such as the pressure data generated after the sensor touches the door.
[0067] In this embodiment, the knock test results are analyzed through the sound information recorded by the robotic arm finger sensor and the microphone. The two are combined, and after the finger sensor feeds back the corresponding information, the knock action is performed to ensure that the robotic arm finger can accurately knock on the test door. Based on the automatic knock test method, the detection efficiency is improved while also improving the accuracy of the knock test.
[0068] In another optional embodiment, the test result can be judged by sound information. Specifically, the robot arm is not provided with a finger sensor. When performing the test, the depth camera is used to capture and determine the location where the door needs to be knocked, and then the operation sequence for the robot arm to perform the knocking is analyzed and generated. After the robot performs the knocking action, the sound recognition information corresponding to the action and the recording information after the current knocking test are completed are analyzed in real time, and the success of the knocking is judged based on the two types of sound information. It is understandable that the operation sequence for knocking on the door obtained by camera analysis may result in empty knocking due to errors. Therefore, by providing a finger sensor on the robot arm, the knocking action is performed after the finger sensor detects the relevant information, thereby effectively improving the accuracy of the knocking test.
[0069] Furthermore, after the knock test results are generated, when the current test process is completed, a test report can be generated based on all the knock test results corresponding to the entire test process. At the same time, in order to facilitate subsequent comparison and verification, the recording information in the current test process can also be associated with the test report and stored. When the test report is generated, the corresponding knock test success rate is output in the test report based on each knock test result.
[0070] After generating the test report, when the robot receives the report viewing instruction, it can obtain the knocking data test template, and then fill the results of the test report into the knocking data test template to generate knocking data, and output the knocking data on the display end of the robot, including the knocking test success rate, the number of knocking tests, etc., to improve the accuracy of data viewing.
[0071] Furthermore, a test report is generated, and when there is a knock test result of a knock failure, the recording information and the knock success rate of the test report are obtained, and the entire knock process is verified according to the recording information and the knock success rate. Subsequently, when there is a sound frequency associated with the knock sound in the recording information, the information of the abnormality of the knock sound detection sensor is output, and the knock test result of the robot arm is modified to a successful knock test, wherein the knock test result here refers to the knock test result of generating error information due to the detection error. In addition, when the knock success rate is greater than the preset success rate, the knock test result is modified to a successful knock test. Based on this, one of the knock test results of a knock failure is analyzed and processed through the knock success rate and the recording information to improve the accuracy of the knock test.
[0072] The present embodiment discloses a testing method for a robot. When a knock test action is performed based on a test instruction, the knock test result is analyzed through the sound information recorded by the robot arm finger sensor and the microphone. The two are combined, and after the finger sensor feeds back corresponding information, the knock action is performed to ensure that the robot arm finger can accurately knock on the test door. Based on the automatic knock test method, the detection efficiency is improved while the accuracy of the knock test detection can be improved.
[0073] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 3 Before step S10, the robot testing method further includes steps S01 to S03:
[0074] Step S01, obtaining the knock test configuration information and the knock test instruction received by the configuration test interface of the test software;
[0075] The robot is equipped with test software, and relevant knock test instructions are input through the test software to realize automatic control of the knock test of the robot, thereby improving the efficiency of the knock test. Based on this, in this embodiment, before executing the knock test action, the knock test configuration information received by the tester in the configuration test interface of the test software and the knock test instructions generated after the tester clicks to start the test can be obtained.
[0076] Step S02, determining a test area according to the knock test configuration information;
[0077] The knock test configuration information includes the room, floor, number of tasks, and task intervals of the test. Based on this, the test area can be determined according to the knock test configuration information. For example, when the test room number is 8510, the test area is Room 10 on the 5th floor of Floor 8. At this time, the robot generates a test area based on the information so as to navigate to the test area for testing. The way the robot navigates to the test area is not limited here.
[0078] Step S03, controlling the robot to move to a test area, and controlling the robot to perform the knock test action based on the knock test instruction.
[0079] In this embodiment, after controlling the robot to move to the test area, the robot's depth camera can be used to obtain image information of the test area, such as the location of the test door, the knocking area corresponding to the test door, etc., and then the movement path of the robot's mechanical arm is generated according to the image information, and the operation sequence of the mechanical arm is generated according to the knocking test configuration information, and then the mechanical arm is controlled to move to the knocking area based on the movement path, and the mechanical arm is controlled to perform the knocking test action according to the operation sequence. Among them, the operation sequence refers to the steps or conditions that the mechanical arm needs to follow when performing the knocking test action, including the knocking conditions of the mechanical arm, the knocking force, the number of knocks, the interval time between each knock, and the reset action of the mechanical arm after completing the knocking.
[0080] Furthermore, when performing the knocking action, the robot arm is first controlled to move to the knocking area based on the moving path, and then the robot arm is controlled to contact the knocking area. After detecting the pressure information or sensing state change information fed back by the sensing device of the robot arm, the recording sensor and the sound recognition sensor are started, and the entire knocking test process is recorded based on the recording sensor. At the same time, the sound generated by the knocking action is analyzed through the sound recognition sensor, and finally the robot arm is controlled to knock based on the knocking frequency, knocking number and knocking interval corresponding to the operation sequence. Based on this, the effectiveness of the knocking test process and the accuracy of the knocking test are improved.
[0081] The present embodiment discloses a testing method for a robot, which generates a path that the robot needs to navigate and move through knocking test configuration information corresponding to the testing software, and simultaneously analyzes the image of the test area through a depth camera to generate a movement path of the robotic arm, and generates an operation sequence of steps or conditions followed by the robot when performing knocking according to the knocking test configuration information. Finally, the test door is knocked according to the knocking frequency, number of times and interval corresponding to the operation sequence, thereby improving the knocking efficiency and the accuracy of the knocking test.
[0082] Based on the above-mentioned second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned second embodiment can be referred to the above introduction and will not be repeated later.
[0083] In an optional implementation of generating a knocking test result based on response information, the robot is provided with a robotic arm finger sensor. Before performing the knocking action, the robotic arm is first placed on the door. Then, when the finger sensor feeds back information such as pressure data or sensing status information (button pop-up or pressed status), the robot knocks through the robotic finger, and at the same time recognizes the sound generated after the knocking, and records the sound information of the entire process.
[0084] Based on this, when performing a knock test, after receiving the sound recognition information, the pressure data corresponding to the sound recognition information at the same time can be determined first. When the sound recognition information is a knock sound and the pressure data is not empty, it means that the current test is successful, and a knock test result of a successful knock is generated. When the sound recognition information is not a knock sound and / or the pressure data is empty, a knock test result of a failed knock is generated, wherein at the same time, the pressure data is empty, indicating that the robotic arm did not touch the test door, which indicates a knock failure, and when the sound recognition information is not a knock sound, it means that the knock action is currently being executed but the knock sound is not detected, which may be due to an equipment abnormality that causes the sensed data to be wrong, indicating that the knock failed, and a knock test result of a failed knock needs to be generated at this time.
[0085] Furthermore, when the sound recognition information is not a knocking sound, analysis can also be performed based on the recording information. Therefore, in an optional embodiment of generating a knock test result based on the response information, the robot is not provided with a mechanical arm finger sensor. In this case, the knock test result needs to be analyzed and judged based on the information recognized by the sound recognition sensor and the sound recorded by the recording sensor.
[0086] Specifically, when the knock test result is generated through the sound recognition information and the recording information, after the knock action is performed, the sound of the knock action feedback is received and recognized and processed by the sound recognition sensor. When the sound recognition information is a knock sound, a knock test result of a successful knock is generated, or there is a knock sound when the knock action is performed in the recording information, and a knock test result of a successful knock is generated. Furthermore, when the sound recognition information is not a knock sound, the recording information associated with the current knock task can be obtained, and a secondary judgment is made based on the recording information. When there is a knock sound in the recording information, it means that the current knock is successful, but there is a problem with the sound recognition sensor that causes the knock sound to be unable to be recognized. At this time, the information of the abnormality of the sound recognition sensor can be output, and a test result of a successful knock is generated. If the sound recognition information is not a knock sound, and there is no knock sound in the recording information, it means that the current knock has failed, and a test result of a failed knock is generated. It is understandable that, without setting up a robot arm finger sensor, the robot arm's movement path and knocking action can be analyzed through video information, and there may be a situation where knocking fails, resulting in the robot not touching the door when performing the knocking action, so no knocking sound is generated. Among them, when the robot performs the knocking action, the microphone will also record other sounds in the environment, so the sound recognition information will include other environmental sounds. At this time, the sound recognition sensor is required to identify and analyze the received sound. In the implementation method of identifying and analyzing the sound to obtain the corresponding sound type, analysis can be performed based on the sound fluctuation frequency, or based on an AI algorithm.
[0087] The present embodiment discloses a testing method for a robot. When the robot is provided with a mechanical arm finger sensor, the knocking test action is analyzed based on the sensing information recognized by the sensor and the sound information generated when the knocking action is performed, and the knocking test result is generated, thereby improving the accuracy of the knocking test result. At the same time, when the robot is not provided with a mechanical arm finger sensor, the analysis is directly based on the sound information to reduce the cost of the knocking test.
[0088] It should be noted that the above embodiments are only used to understand the present application and do not constitute a limitation on the testing method of the robot of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0089] The present application provides a robot, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the testing method of the robot in the first embodiment described above.
[0090] Reference below Figure 4 , which shows a schematic structural diagram of a robot suitable for implementing an embodiment of the present application. Figure 4 The robot shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0091] like Figure 4As shown, the robot may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the robot are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the robot to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a robot with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0092] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0093] The robot provided by the present application adopts the testing method of the robot in the above embodiment, which can solve the technical problem of low detection accuracy in the door knocking aging test based on manual operation. Compared with the prior art, the beneficial effects of the robot provided by the present application are the same as the beneficial effects of the testing method of the robot provided by the above embodiment, and the other technical features of the robot are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0094] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0095] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0096] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the robot testing method in the above-mentioned embodiment.
[0097] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0098] The computer-readable storage medium may be included in the robot; or may exist independently without being assembled into the robot.
[0099] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by a robot, the robot:
[0100] Obtain the response information received when the robot performs the knock test action based on the test instruction;
[0101] A knock test result is generated according to the response information, and a test report is generated based on the knock test result.
[0102] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart 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.
[0104] The modules involved in the embodiments of the present application may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0105] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the test method of the robot, and can solve the technical problem of low detection accuracy in the door knocking aging test based on manual operations. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the test method of the robot provided by the above embodiment, and will not be elaborated here.
[0106] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A robot testing method, characterized in that: The method comprises: Obtain the response information received when the robot performs the knock test action based on the test instruction; A knock test result is generated according to the response information, and a test report is generated based on the knock test result.
2. The method according to claim 1, characterized in that Before the step of obtaining the response information received when the robot performs the knocking test action based on the test instruction, the step further includes: Obtaining knock test configuration information and knock test instructions received by the configuration test interface of the test software; Determine a test area according to the knock test configuration information; The robot is controlled to move to a test area, and based on the knock test instruction, the robot is controlled to perform the knock test action.
3. The method according to claim 2, characterized in that The step of controlling the robot to move to the test area and controlling the robot to perform the knock test action based on the knock test instruction includes: Controlling the robot to move to the test area, and acquiring image information of the test area based on a depth camera; generating a movement path of a mechanical arm of the robot according to the image information, and generating an operation sequence of the mechanical arm according to the knock test configuration information; The robotic arm is controlled to move to a door knocking area based on the moving path, and the robotic arm is controlled to perform the door knocking test action according to the operation sequence.
4. The method according to claim 3, characterized in that The step of controlling the mechanical arm to move to the door knocking area based on the moving path, and controlling the mechanical arm to perform the door knocking test action according to the operation sequence includes: Controlling the mechanical arm to move to the knocking area based on the moving path; After the robotic arm contacts the knocking area and detects pressure information or sensing state change information fed back by the sensing device of the robotic arm, the recording sensor and the sound recognition sensor are activated; The robot arm is controlled to perform tapping based on the tapping frequency, the number of tapping times and the tapping interval corresponding to the operation sequence.
5. The method according to claim 1, characterized in that The response information includes voice recognition information and recording information, and the step of generating a knock test result according to the response information includes: When the sound recognition information is a knocking sound, generating the knocking test result indicating successful knocking; When the sound recognition information is not a knocking sound, obtaining the recording information associated with the current knocking task; If the knocking sound exists in the recording information, output the information that the sound recognition sensor is abnormal, and generate the knocking test result that the knocking is successful; If the knocking sound does not exist in the recording information, the test result of knocking failure is generated.
6. The method according to claim 5, characterized in that The response information also includes pressure data, and the step of generating a knock test result according to the response information includes: determining the pressure data corresponding to the sound recognition information at the same time when the sound recognition information is received; When the sound recognition information is the knocking sound and the pressure data is not empty, generating the knocking test result that the knocking is successful; When the sound recognition information is not a knock sound and / or the pressure data is empty, the knock test result indicating a knock failure is generated.
7. The method according to claim 1, characterized in that After the step of generating a knock test result according to the response information and generating a test report based on the knock test result, the method further includes: When the knocking test result is a knocking failure, obtaining recording information of the test report and a knocking success rate; When there is a sound frequency associated with a knock sound in the recording information, outputting information that the knock sound detection sensor is abnormal, and modifying the knock test result to indicate that the knock test is successful; When the knocking success rate is greater than a preset success rate, the knocking test result is modified to a knocking test success.
8. The method according to claim 1, characterized in that After the step of generating a knock test result according to the response information and generating a test report based on the knock test result, the method further includes: When receiving the report viewing instruction, obtain the knock data test template; The results of the test report are filled into the knocking data test template to generate knocking data, and the knocking data is output on the display end of the robot.
9. A robot, characterized in that: The robot comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the robot testing method according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the robot testing method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Door knocking reminding method, door knocking reminding device and electronic equipment
CN111127846A
Door knocking detection method, intelligent doorbell control system and readable storage medium
CN114002752A
Audio recognition method and audio recognition device
CN116665707A
Robot door knocking method, robot and storage medium
CN118123835A
Prompt method and related device
WO2023280228A1
Cited By
Penetration testing method and device of nursing type robot and computer equipment
CN120533750A
