Test platform control method, test platform and storage medium
By configuring the parameters of the barrier area and display screen, dynamically adjusting the test platform, the problem that the fixed environment in the existing technology cannot meet multiple test scenarios, and flexible testing scenario adjustment and efficient testing process are achieved.
Patent Information
- Application Number
- CN202111538250.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In the prior art, the environment of the simulated scene is fixed, and the simulation scene cannot be adjusted, resulting in the inability to meet the needs of multiple test scenarios.
By configuring the parameters of the obstacle area and display screen, controlling the obstacle status and display status, dynamic adjustment of the test platform is achieved, allowing the robot to perform test tasks on the runway, and adjusting the obstacles and display parameters according to the test results to change the scene.
It realizes flexible adjustments to simulated scenes, improves the switching efficiency of test scenes, reduces the difficulty of testing, and improves the efficiency of robot testing.
Smart Images

Figure CN114355898B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robotics technology, and in particular to a test platform control method, a test platform and a storage medium. Background Art
[0002] With the rapid development of the robotics industry, indoor mobile robots are being used more and more widely in scenarios such as hotels, KTVs, office buildings, residential communities, and factories. The main function of delivery robots is to automatically deliver items to the destination. During the delivery process, the surrounding lighting, ground and other environmental factors have different effects on the robot, so it is necessary to simulate the on-site environment to test the robot.
[0003] In order to simulate the on-site environment, a typical environment is usually built inside the laboratory, such as a KTV environment. The laboratory is decorated like a KTV environment, with different colored lights, mirrors and glass walls on both sides of the road, and spotlights installed above. Once the simulation environment is decorated, the environment is solidified and the simulated scene cannot be adjusted. Only one test scene can be simulated. In this way, the simulation scene cannot be adjusted by testing in a fixed environment.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a test platform control method, a test platform and a storage medium, aiming to achieve the effect of adjusting the simulation scene.
[0006] To achieve the above object, the present invention provides a test platform control method, which is applied to a test platform, wherein the test platform includes a runway and a display screen, wherein the display screen is arranged in at least a part of the area on both sides of the runway, and the runway is provided with an obstacle area, and the test platform control method includes the following steps:
[0007] configuring obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring display parameters of the display screen to control the display state presented by the display screen;
[0008] Controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task;
[0009] According to the first test result, obstacle parameters of the obstacle zone are adjusted to change the obstacle state, and / or display parameters of the display screen are adjusted to change the display state.
[0010] Optionally, a camera device is installed above the runway;
[0011] Controlling the robot to perform a first test task on the runway and obtaining a first test result generated by performing the first test task includes:
[0012] A test starting point and a test end point are arranged on the runway, and a path is planned according to the test starting point and the test end point to obtain a test path, wherein the test path passes through the obstacle area and a part of the runway corresponding to the display screen;
[0013] Controlling the robot to travel along the test path, and controlling the camera device to acquire video data of the robot's travel process;
[0014] A first test result is determined according to the video data, wherein the first test result is pass or fail.
[0015] Optionally, determining a first test result according to the video data includes:
[0016] Determining the operating state of the robot according to the video data, the operating state including whether the robot deviates from a preset path, whether the robot is located at a preset test starting point when starting, and whether the robot is located at a preset test end point when finishing executing the first test task;
[0017] receiving feedback information sent by the robot during the execution of the first test task, wherein the feedback information includes actual operating parameters;
[0018] The first test result is determined according to the operating state and the actual operating parameters.
[0019] Optionally, the first test result is pass or fail;
[0020] Adjusting and configuring obstacle parameters of the obstacle zone to change the obstacle state, and / or adjusting and configuring display parameters of the display screen to change the display state according to the first test result, includes:
[0021] If the first test result is passed, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a first obstacle state to a second obstacle state, wherein the environment of the first obstacle state has less interference ability with the robot's driving than the environment of the second obstacle state;
[0022] and / or, adjusting and configuring display parameters of the display screen so that the display screen changes from a first display state to a second display state, wherein the environment of the first display state has less interference capability with the robot's travel than the environment of the second display state;
[0023] If the first test result is a failure, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a third obstacle state to a fourth obstacle state, wherein the environment of the third obstacle state has a stronger interference ability to the robot's driving than the environment of the fourth obstacle state;
[0024] And / or, adjusting and configuring display parameters of the display screen so that the display screen changes from a third display state to a fourth display state, wherein the environment of the third display state has a stronger interference capability to the robot's driving than the environment of the fourth display state.
[0025] Optionally, the obstacle parameter includes one or more of the size of the obstacle, the height of the obstacle and the density of the obstacle in the obstacle area;
[0026] The display parameters include one or more of display brightness, display color, display content and fixed display time.
[0027] Optionally, the test platform further includes a glass wall, the glass wall is arranged in at least a portion of the areas on both sides of the runway, the runway includes a first area, a second area and a third area, the obstacle area is arranged in the second area, and the first area and the third area are made of different materials.
[0028] Optionally, the test platform control method further includes: controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again;
[0029] The robot performance is evaluated according to the first test result and the second test result to obtain an evaluation result.
[0030] Optionally, controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again, comprises:
[0031] During the process of the robot performing the first test task again, obtaining the position information of the robot, and determining the area where the robot is currently located according to the position information;
[0032] Controlling at least one obstacle robot to move to an area where the robot is currently located;
[0033] After the robot finishes the first test task, a second test result generated by executing the first test task again is obtained.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a test platform, which includes a memory, a processor, and a test platform control program stored in the memory and executable on the processor, and the test platform control program, when executed by the processor, implements the steps of the test platform control method as described above.
[0035] In addition, to achieve the above object, the present invention further provides a test platform, the test platform comprising:
[0036] A configuration module, used to configure obstacle parameters of an obstacle zone to control the obstacle state presented by the obstacle zone, and to configure display parameters of a display screen to control the display state presented by the display screen;
[0037] A control module, configured for the robot to perform a first test task on a runway and obtain a first test result generated by performing the first test task;
[0038] An adjustment template is used to adjust and configure obstacle parameters of the obstacle zone to change the obstacle state, and / or adjust and configure display parameters of the display screen to change the display state according to the first test result.
[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a test platform control program is stored, and when the test platform control program is executed by a processor, the steps of the test platform control method as described above are implemented.
[0040] A test platform control method, a test platform and a storage medium proposed in an embodiment of the present invention. The test platform control method includes: configuring the obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring the display parameters of the display screen to control the display state presented by the display screen; controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task; adjusting the obstacle parameters configured in the obstacle zone according to the first test result to change the obstacle state, and / or adjusting the display parameters configured in the display screen to change the display state. In this way, by configuring the obstacle parameters of the obstacle zone and configuring the display parameters of the display screen, the test scene is simulated, and the obstacle parameters and display parameters can be adjusted as needed. Therefore, based on the scheme given in the above embodiment, the simulation scene can be adjusted. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0042] Figure 2A schematic diagram of a flow chart of an embodiment of a test platform control method of the present invention;
[0043] Figure 3 A flow chart of another embodiment of the test platform control method of the present invention;
[0044] Figure 4 A schematic diagram of an application scenario of a test platform control method according to an embodiment of the present invention;
[0045] Figure 5 The figure is a simplified diagram of the test platform architecture involved in the embodiment of the present invention.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0048] In related technologies, scenario simulation is usually performed by building an environment inside a laboratory. However, the built simulation environment is usually fixed and can only simulate one test scenario, and the simulation environment cannot be adjusted.
[0049] In order to adjust the simulation environment, an embodiment of the present invention provides a test platform control method, a test platform and a storage medium, wherein the main steps of the method include:
[0050] configuring obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring display parameters of the display screen to control the display state presented by the display screen;
[0051] Controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task;
[0052] According to the first test result, obstacle parameters of the obstacle zone are adjusted to change the obstacle state, and / or display parameters of the display screen are adjusted to change the display state.
[0053] The content to be protected by the claims of the present invention will be described in detail below with reference to the accompanying drawings.
[0054] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0055] The terminal in the embodiment of the present invention may be a test platform.
[0056] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may also be a storage device independent of the aforementioned processor 1001.
[0057] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0058] like Figure 1 As shown, the memory 1003 as a computer storage medium may include an operating system and a test platform control program.
[0059] exist Figure 1 In the terminal shown, the processor 1001 can be used to call the test platform control program stored in the memory 1003 and perform the following operations:
[0060] configuring obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring display parameters of the display screen to control the display state presented by the display screen;
[0061] Controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task;
[0062] According to the first test result, obstacle parameters of the obstacle zone are adjusted to change the obstacle state, and / or display parameters of the display screen are adjusted to change the display state.
[0063] Further, the processor 1001 may call the test platform control program stored in the memory 1003, and further perform the following operations:
[0064] A test starting point and a test end point are arranged on the runway, and a path is planned according to the test starting point and the test end point to obtain a test path, wherein the test path passes through the obstacle area and a part of the runway corresponding to the display screen;
[0065] Controlling the robot to travel along the test path, and controlling the camera device to acquire video data of the robot's travel process;
[0066] A first test result is determined according to the video data, wherein the first test result is pass or fail.
[0067] Further, the processor 1001 may call the test platform control program stored in the memory 1003, and further perform the following operations:
[0068] Determining the operating state of the robot according to the video data, the operating state including whether the robot deviates from a preset path, whether the robot is located at a preset test starting point when starting, and whether the robot is located at a preset test end point when finishing executing the first test task;
[0069] receiving feedback information sent by the robot during the execution of the first test task, wherein the feedback information includes actual operating parameters;
[0070] The first test result is determined according to the operating state and the actual operating parameters.
[0071] Further, the processor 1001 may call the test platform control program stored in the memory 1003, and further perform the following operations:
[0072] If the first test result is passed, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a first obstacle state to a second obstacle state, wherein the environment of the first obstacle state has less interference ability with the robot's driving than the environment of the second obstacle state;
[0073] and / or, adjusting and configuring display parameters of the display screen so that the display screen changes from a first display state to a second display state, wherein the environment of the first display state has less interference capability with the robot's travel than the environment of the second display state;
[0074] If the first test result is a failure, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a third obstacle state to a fourth obstacle state, wherein the environment of the third obstacle state has a stronger interference ability to the robot's driving than the environment of the fourth obstacle state;
[0075] And / or, adjusting and configuring display parameters of the display screen so that the display screen changes from a third display state to a fourth display state, wherein the environment of the third display state has a stronger interference capability to the robot's driving than the environment of the fourth display state.
[0076] Further, the processor 1001 may call the test platform control program stored in the memory 1003, and further perform the following operations:
[0077] Controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again;
[0078] The robot performance is evaluated according to the first test result and the second test result to obtain an evaluation result.
[0079] Further, the processor 1001 may call the test platform control program stored in the memory 1003, and further perform the following operations:
[0080] During the process of the robot performing the first test task again, obtaining the position information of the robot, and determining the area where the robot is currently located according to the position information;
[0081] Controlling at least one obstacle robot to move to an area where the robot is currently located;
[0082] After the robot finishes the first test task, a second test result generated by executing the first test task again is obtained.
[0083] The following is an explanation of the content claimed in the claims of the present invention through specific exemplary schemes, so that those skilled in the art can better understand the scope of protection of the claims of the present invention. It is understood that the following exemplary schemes do not limit the scope of protection of the present invention, but are only used to explain the present invention.
[0084] For example, refer to Figure 2 In one embodiment of the test platform control method of the present invention, the test platform control method comprises the following steps:
[0085] S10, configuring obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring display parameters of the display screen to control the display state presented by the display screen;
[0086] In this embodiment, the main body that executes the test platform control method is the test platform. The test platform is a device for users to simulate the robot test environment, including a runway, an obstacle area and a display screen. The display screen is set in at least part of the area on both sides of the runway, and can include multiple display screens. It can display pictures or videos, play music, and the display content can be customized. The display screen also has a WIFI function and can access the Internet.
[0087] The obstacle area is set on the runway, and several cylindrical obstacles that can be retracted and moved can be set on the obstacle area. Configuring obstacle parameters can control the obstacle state presented in the obstacle area. Obstacle parameters include one or more of the size of the obstacle, the height of the obstacle, and the density of the obstacle in the obstacle area; the display parameters include one or more of the display brightness, display color, display content, and fixed display time. The height and / or mode of the obstacles in the obstacle area can also be determined according to the obstacle parameters. For example, when the obstacle parameter is an obstacle height of 0.1 cm, the motor is controlled to make the height of the obstacle reach 0.1 cm, which is used to simulate obstacles of different heights or non-slip tiles. When the obstacle parameter is a pedestrian mode, the motor is controlled to make the height of the obstacle different, simulating the height of adults, children, etc., and the obstacles can also be controlled to move irregularly to imitate the walking of pedestrians. It can be understood that the height of the obstacle can be set and adjusted to change the obstacle state.
[0088] Configure the display parameters of the display screen, and update the display content of the display screen according to the display parameters. The display screen is installed in at least part of the area on both sides of the runway to display customized content. It can be used to imitate the lighting effects and mirror effects of various test scenes, play music videos or food introductions in hotel scenes, etc. The display parameters include pictures, videos, music, etc. After determining the display parameters, update the display content of the display screen. It should be noted that the display content here includes pictures, videos, music, etc., which are information transmitted to the outside world through the display screen, and the display state is changed by changing the display content.
[0089] Optionally, relevant information of the first test task is determined before configuration, and obstacle parameters related to the obstacle area on the test platform and display parameters related to the display screen on the test platform can be determined based on the relevant information.
[0090] S20, controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task;
[0091] The robot is controlled to perform a first test task on the runway. When the robot passes the first test task, the test platform can obtain a first test result generated by performing the first test task.
[0092] Optionally, a communication connection can be established between the test platform and the robot, which can be a wireless connection, such as Bluetooth, WIFI, ZigBee, etc. After the test platform confirms the relevant information of the first test task, the operating task of the robot in the first test task can be determined according to the relevant information, and the operating task includes a test starting point and a test end point. The test starting point and the test end point are set on the runway, and a path is planned according to the test starting point and the test end point to obtain a test path, wherein the test path passes through the obstacle area and the part of the runway corresponding to the display screen; the robot is controlled to travel according to the test path, and the camera device is controlled to obtain video data of the robot's driving process; the first test result is determined according to the video data, wherein the first test result is passed or failed.
[0093] A suspended bracket is provided above the test platform, and a camera device is provided on the bracket. The test platform can obtain video data of the machine passing the first test task through the camera device. The operating state of the robot can be determined based on the video data, and the operating state includes whether the robot deviates from the preset path, whether the robot is located at the preset test starting point when it sets off, and whether the robot is located at the preset test end point when it finishes executing the first test task. Based on the communication connection established between the test platform and the robot, feedback information of the first test sent by the robot can also be received. The feedback information includes the actual operating parameters of the robot, including the actual speed and actual running time of the robot in the first process.
[0094] Optionally, the shooting process of the camera device starts before the robot starts to move to the test starting point in the first test task, and the shooting time is a preset time or when the robot runs to the test end point in the first test task. In this way, the entire process of the robot in the corresponding simulation environment can be captured. If the robot fails to reach the test end point successfully due to various reasons, the camera device stops shooting after the preset time. At the same time, the test platform issues a warning to the user that the robot has not reached the test end point within the preset time. This can save memory resources.
[0095] Optionally, the camera device can be an intelligent camera that can identify whether there are abnormalities such as route distortion in the robot's running path during the task execution and observe the robot's movement process, such as whether the robot deviates from the preset path, whether the robot is at the test starting point when it sets off, and whether the robot is at the test end point when it arrives.
[0096] When the robot is performing the first test task, it can be judged whether the robot is operating in accordance with the first test task based on the video data and feedback information, that is, the first test result is determined based on the operating status and actual operating parameters. The test platform can also generate a test report. The test report includes: robot identity information, test time, video data, feedback information, operating tasks and first test results and other related content, thereby realizing the integration of robot testing and more conveniently understanding the robot testing process.
[0097] It is understandable that the running state of the robot and the speed and other information when passing through different areas on the runway can also be analyzed through the video data. The first test result is judged according to the video data and the first test task. If it runs according to the test task, the test passes. If it does not run according to the first test result, the test fails. The running state includes robot movement information such as whether the robot deviates from the preset path, whether the robot is located at the test starting point when it sets off, and whether the robot is located at the test end when it arrives. The robot can send its actual running parameters and self-identification as feedback information to the test platform after reaching the preset task point or after the preset time period ends. The actual running parameters also include the speed change of the robot. The test platform can determine whether the robot runs according to the running task of the first test task based on the actual running parameters and video data, including whether it meets the preset test starting point, preset test end point, preset path and preset running parameters to determine whether the robot passes or fails in the first test task. In this way, it is more accurate to determine the robot operation related information through the feedback information sent by the robot, and the calculation process is simpler, and it can also be mutually verified with the robot operation related information in the video data.
[0098] Optionally, the test platform also includes a display page, which can obtain video data corresponding to the first test task in real time and display it to the user in real time through the display page.
[0099] Optionally, refer to Figure 4 The test platform includes a runway, a test robot 2 and a camera device 1. The test platform also includes a glass wall 4, which is arranged in at least part of the area on both sides of the runway. The glass wall 4 can be used for penetrability scene testing such as laser radar. The runway includes a first area 3, a second area 5 and a third area 8. The obstacle area is arranged in the second area 5. Obstacles 6 are arranged in the obstacle area. The materials of the first area 3 and the third area 8 are different, the friction is also different, and the impact on the robot is also different. For example, carpets and smooth waxed bases make the robot simulation scenes diverse.
[0100] S30. According to the first test result, adjusting and configuring obstacle parameters of the obstacle zone to change the obstacle state, and / or adjusting and configuring display parameters of the display screen to change the display state.
[0101] In this embodiment, the first test result is pass or fail. If the first test result is pass, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from a first obstacle state to a second obstacle state, wherein the environment of the first obstacle state has less interference with the robot's travel than the environment of the second obstacle state; or, the display parameters of the display screen are adjusted to change the display screen from a first display state to a second display state, wherein the environment of the first display state has less interference with the robot's travel than the environment of the second display state.
[0102] In another embodiment, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from a first obstacle state to a second obstacle state, wherein the environment of the first obstacle state has less interference ability to the robot's travel than the environment of the second obstacle state. Also, the display parameters of the display screen are adjusted to change the display screen from a first display state to a second display state, wherein the environment of the first display state has less interference ability to the robot's travel than the environment of the second display state.
[0103] If the first test result is a failure, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from a third obstacle state to a fourth obstacle state, wherein the environment of the third obstacle state has a stronger interference capability to the robot's travel than the environment of the fourth obstacle state; or, the display parameters of the display screen are adjusted to change the display screen from a third display state to a fourth display state, wherein the environment of the third display state has a stronger interference capability to the robot's travel than the environment of the fourth display state.
[0104] In another embodiment, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from the third obstacle state to the fourth obstacle state, wherein the environment of the third obstacle state has a stronger interference capability to the robot's travel than the environment of the fourth obstacle state. In addition, the display parameters of the display screen are adjusted to change the display screen from the third display state to the fourth display state, wherein the environment of the third display state has a stronger interference capability to the robot's travel than the environment of the fourth display state.
[0105] In this embodiment, the environment that interferes with the robot's travel is dynamically adjusted to form different test states to determine the robot's performance.
[0106] In the technical solution disclosed in this embodiment, the obstacle parameters of the obstacle zone are configured to control the obstacle state presented by the obstacle zone, and the display parameters of the display screen are configured to control the display state presented by the display screen; the robot is controlled to perform a first test task on the runway, and a first test result generated by performing the first test task is obtained; the obstacle parameters of the obstacle zone are adjusted according to the first test result to change the obstacle state, and / or the display parameters of the display screen are adjusted to change the display state. In this way, by configuring the obstacle parameters and display parameters of the test platform to adjust the obstacles and display content, the simulation of the test environment is realized, and the simulated environment in the robot test can be adjusted according to the needs, and the cost is low, the time consumption is short, the efficiency of switching test scenes is improved, the difficulty of testing robots is reduced, and the testing efficiency of robots is improved.
[0107] Optionally, refer to Figure 3 Based on any of the above embodiments, in another embodiment of the test platform control method of the present invention, the test platform control method further includes:
[0108] S40, controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again;
[0109] S50. Evaluate the robot performance according to the first test result and the second test result to obtain an evaluation result.
[0110] In this embodiment, the subject of the test platform control method is the test platform. After the robot performs the first test task, the first test result can be obtained. According to the first test result, the obstacle parameters of the obstacle zone are adjusted to change the obstacle state, and / or the display parameters of the display screen are adjusted to change the display state. Once the relevant test state is changed, the robot needs to re-execute the first test task, control the robot to perform the first test task again on the runway, and obtain the second test result generated by re-execution of the first test task. The acquisition of the second test result refers to the above embodiment. By comparing the first test result with the second test result, the robot performance can be evaluated according to the first test result and the second test result to obtain an evaluation result.
[0111] Optionally, while the robot is executing the first test task again, the position information of the robot is obtained, and the current area of the robot is determined based on the position information; at least one obstacle robot is controlled to move to the current area of the robot; after the robot completes the first test task, a second test result generated by executing the first test task again is obtained.
[0112] The test platform also includes an obstacle robot. The obstacle robot is different from the obstacles in the obstacle zone of the test platform. It will not be restricted by the obstacle zone and can move autonomously, which will bring additional interference to the test robot, making the test mode of the test platform more diversified and further improving the efficiency of robot testing.
[0113] In the technical solution disclosed in this embodiment, after completing the first test task, the robot can obtain a second test result, change the relevant test environment simulated by the test platform according to the first test result, and then control the robot to perform the first test task again to obtain the second test result. By comparing the first test result with the second test result, the operating performance of the robot can be evaluated. Since the test scenarios of the first test result and the second test result are different, the evaluation result is more reliable. In addition, when adjusting the test platform, only the relevant configuration parameters need to be adjusted, which improves the efficiency of robot testing.
[0114] In addition, an embodiment of the present invention also proposes a test platform, which includes a memory, a processor, and a test platform control program stored in the memory and executable on the processor, and when the test platform control program is executed by the processor, the steps of the test platform control method described in the above embodiments are implemented.
[0115] In addition, the embodiment of the present invention also provides a test platform, exemplarily, referring to Figure 5 , the test platform 100 comprises:
[0116] Configuration module 101, control module 102 and adjustment template 103. Configuration module 101, used to configure obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configure display parameters of the display screen to control the display state presented by the display screen, wherein the display parameters include one or more of display brightness, display color, display content and fixed display time, the test platform also includes glass walls, the glass walls are arranged in at least part of the areas on both sides of the runway, the runway includes a first area, a second area and a third area, the obstacle zone is arranged in the second area, and the materials of the first area and the third area are different;
[0117] The control module 102 is used for the robot to perform a first test task on a runway, and obtain a first test result generated by performing the first test task, wherein a test starting point and a test end point are provided on the runway, and a path is planned according to the test starting point and the test end point to obtain a test path, wherein the test path passes through the obstacle area and a portion of the runway corresponding to the display screen; control the robot to travel according to the test path, and control the camera device to obtain video data of the robot's travel process; determine a first test result according to the video data, wherein the first test result is passed or failed. Determine the operating status of the robot according to the video data, wherein the operating status includes whether the robot deviates from a preset path, whether the robot is located at a preset test starting point when starting, and whether the robot is located at a preset test end point when finishing performing the first test task; receive feedback information sent by the robot during the execution of the first test task, wherein the feedback information includes actual operating parameters;
[0118] The adjustment template 103 is used to adjust the obstacle parameters of the obstacle zone according to the first test result to change the obstacle state, and / or adjust the display parameters of the display screen to change the display state. If the first test result is passed, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from the first obstacle state to the second obstacle state, wherein the environment of the first obstacle state has a lower interference ability to the robot's travel than the environment of the second obstacle state; and / or, the display parameters of the display screen are adjusted to change the display screen from the first display state to the second display state, wherein the environment of the first display state has a lower interference ability to the robot's travel than the environment of the second display state; if the first test result is not passed, the obstacle parameters of the obstacle zone are adjusted to change the obstacle zone from the third obstacle state to the fourth obstacle state, wherein the environment of the third obstacle state has a stronger interference ability to the robot's travel than the environment of the fourth obstacle state; and / or, the display parameters of the display screen are adjusted to change the display screen from the third display state to the fourth display state, wherein the environment of the third display state has a stronger interference ability to the robot's travel than the environment of the fourth display state. The robot is controlled to perform the first test task again on the runway, and a second test result generated by performing the first test task again is obtained; the performance of the robot is evaluated according to the first test result and the second test result to obtain an evaluation result. In the process of the robot performing the first test task again, the position information of the robot is obtained, and the area where the robot is currently located is determined according to the position information; at least one obstacle robot is controlled to move to the area where the robot is currently located; after the robot finishes the first test task, the second test result generated by performing the first test task again is obtained.
[0119] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a test platform control program is stored. When the test platform control program is executed by a processor, the steps of the test platform control method described in the above embodiments are implemented.
[0120] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0121] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling the test platform to execute the methods described in each embodiment of the present invention.
[0123] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A test platform control method, characterized in that: Applied to a test platform, the test platform includes a runway and a display screen, the display screen is arranged in at least a portion of the area on both sides of the runway, and the runway is provided with an obstacle area. The test platform control method includes the following steps: configuring obstacle parameters of the obstacle zone to control the obstacle state presented by the obstacle zone, and configuring display parameters of the display screen to control the display state presented by the display screen, wherein the obstacle parameters include one or more of the size of the obstacle, the height of the obstacle, and the density of the obstacles in the obstacle zone; and the display parameters include one or more of the display brightness, the display color, the display content, and the fixed display time; Controlling the robot to perform a first test task on the runway, and obtaining a first test result generated by performing the first test task, where the first test result is a pass or a fail; If the first test result is a pass, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a first obstacle state to a second obstacle state, wherein the environment of the first obstacle state has less interference with the robot's movement than the environment of the second obstacle state; and / or adjusting and configuring display parameters of the display screen so that the display screen changes from a first display state to a second display state, wherein the environment of the first display state has less interference with the movement of the robot than the environment of the second display state; If the first test result is a failure, adjusting the obstacle parameters of the obstacle zone so that the obstacle zone changes from a third obstacle state to a fourth obstacle state, wherein the environment of the third obstacle state has a greater interference capability with the robot's movement than the environment of the fourth obstacle state; And / or, adjust and configure the display parameters of the display screen so that the display screen changes from a third display state to a fourth display state, wherein the environment of the third display state has a stronger interference ability with the robot's travel than the environment of the fourth display state.
2. The test platform control method according to claim 1, wherein: A camera device is installed above the runway; Controlling the robot to perform a first test task on the runway and obtaining a first test result generated by performing the first test task includes: A test starting point and a test end point are provided on the runway, and a path is planned according to the test starting point and the test end point to obtain a test path, wherein the test path passes through the obstacle area and a portion of the runway corresponding to the display screen; Controlling the robot to travel along the test path, and controlling the camera to acquire video data of the robot's travel process; A first test result is determined based on the video data, wherein the first test result is pass or fail.
3. The test platform control method according to claim 2, wherein: Determining a first test result according to the video data includes: determining an operating state of the robot based on the video data, the operating state including whether the robot deviates from a preset path, whether the robot is located at a preset test starting point when starting, and whether the robot is located at a preset test end point when completing the first test task; receiving feedback information sent by the robot during the execution of the first test task, wherein the feedback information includes actual operating parameters; The first test result is determined according to the operating state and the actual operating parameters.
4. The test platform control method according to claim 1, wherein: The test platform also includes glass walls, which are arranged in at least part of the area on both sides of the runway. The runway includes a first area, a second area and a third area. The obstacle area is arranged in the second area. The first area and the third area are made of different materials.
5. The test platform control method according to any one of claims 1 to 4, characterized in that: After adjusting and configuring the obstacle parameters of the obstacle zone to change the obstacle state and / or adjusting and configuring the display parameters of the display screen to change the display state according to the first test result, the method further includes: Controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again; The robot performance is evaluated according to the first test result and the second test result to obtain an evaluation result.
6. The test platform control method according to claim 5, wherein: Controlling the robot to perform the first test task again on the runway, and obtaining a second test result generated by performing the first test task again, comprising: During the process of the robot performing the first test task again, obtaining the position information of the robot, and determining the area where the robot is currently located according to the position information; Controlling at least one obstacle robot to move to the area where the robot is currently located; After the robot completes the first test task, a second test result generated by executing the first test task again is obtained.
7. A test platform, characterized in that: Used to execute the test platform control method according to any one of claims 1 to 6, the test platform comprising: a configuration module, configured to configure obstacle parameters of an obstacle zone to control the obstacle state presented by the obstacle zone, and to configure display parameters of a display screen to control the display state presented by the display screen; A control module, configured to control the robot to perform a first test task on a runway and obtain a first test result generated by performing the first test task; An adjustment template is used to adjust and configure obstacle parameters of the obstacle zone to change the obstacle state, and / or adjust and configure display parameters of the display screen to change the display state according to the first test result.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a test platform control program, which, when executed by a processor, implements the steps of the test platform control method according to any one of claims 1 to 6.
