Testing method, device, electronic equipment and medium for autonomous driving simulation platform

By generating test scenarios that meet preset standards based on test cases and controlling the behavior of autonomous vehicles, the problem of low test scenario construction efficiency and scenario reuse in the existing technology is solved, and efficient automated testing and accurate test results are achieved.

CN115542770BActive Publication Date: 2024-09-17CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211174785.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2024-09-17
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

Existing autonomous driving simulation testing methods require a large amount of calculations to construct test scenarios, and changes in the autonomous driving algorithm logic result in test cases and scenarios that cannot be reused, reducing the efficiency of building scenarios and increasing labor costs.

Method used

Generate test scenarios that meet preset standards by determining static and dynamic scene parameters based on target test cases, and generate test scripts to test the vehicles and targets to be tested, and obtain position and speed information to control lane changes and speed changes. According to the test results Generate reports and automate scenario building.

Benefits of technology

It improves the efficiency of test scenario construction, reduces test costs, and improves test precision and accuracy through automated scenario construction and visualization modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115542770B
    Figure CN115542770B
Patent Text Reader

Abstract

The present application relates to the field of autonomous driving technology, and in particular to a testing method, device, electronic device and medium for an autonomous driving simulation platform, wherein the method includes: determining static scene parameters and dynamic scene parameters of a test scene according to a target test case, generating a test scene that meets a preset scene standard, and generating a test script according to the target test case and based on the test scene, testing a vehicle to be tested and a target object, obtaining the position information, speed information of the vehicle to be tested and the position information of the target object during the test, thereby controlling the vehicle to be tested to perform lane change and / or speed change, and generating a test report according to its test results and preset expected results. The testing method of the autonomous driving simulation platform according to the embodiment of the present application is used to realize the construction of an automated scene, which solves the problem that test cases and test scenes cannot be reused due to changes in the logic of the autonomous driving algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a testing method, device, electronic equipment and medium for an autonomous driving simulation platform. Background Art

[0002] With the rapid development of artificial intelligence, autonomous driving systems have become a popular intelligent software system today, and their rich and upgraded functions have become the standard for users to consider. In order to ensure the safety of autonomous driving vehicles and avoid catastrophic consequences that may be caused by software defects, autonomous driving vehicles must be tested before going online to verify whether they meet the online standards.

[0003] In the related art, most testing methods, when conducting simulation tests based on virtual scenes, vehicle dynamics models and test cases, mostly conduct tests through a test management module, a virtual scene module, a vehicle module, a data conversion interface module and an automatic driving system module.

[0004] However, this testing method lacks an automated scenario construction module and requires tedious calculations to build test scenarios. It is unable to filter scenarios based on test results, nor can it complete the test by adjusting its own driving behavior by observing the behavior of the test vehicle. Summary of the invention

[0005] The present application provides a testing method, device, electronic device and medium for an autonomous driving simulation platform to solve the problem that the testing method of the related technology requires a large amount of calculation to construct a test scenario, and due to the change of the autonomous driving algorithm logic, the test cases and test scenarios cannot be reused, thereby reducing the efficiency of building scenarios and increasing labor costs.

[0006] The first aspect of the present application provides a testing method for an autonomous driving simulation platform, comprising the following steps: determining static scene parameters and dynamic scene parameters of a test scenario according to a target test case, and generating a test scenario that meets preset scene standards according to the static scene parameters and the dynamic scene parameters; generating a test script according to the target test case, and based on the test scenario, testing a vehicle to be tested and a target object according to the test script, and obtaining position information of the vehicle to be tested, speed information of the vehicle to be tested, and position information of the target object during the test; and controlling the vehicle to be tested to perform lane changing and / or speed changing actions based on the position information and speed information of the vehicle to be tested and the position information of the target object, and generating a test report according to the test results of performing the lane changing and / or speed changing actions and preset expected results.

[0007] According to the above-mentioned technical means, the test can be completed by adjusting the driving behavior of the vehicle through information such as the test speed and position, so as to achieve efficient construction of the test scenario.

[0008] Furthermore, in one embodiment of the present application, before determining the static scene parameters and the dynamic scene parameters of the test scene according to the target test case, it also includes: obtaining the current test requirements of the vehicle to be tested; and writing the target test case according to the current test requirements.

[0009] According to the above technical means, target test cases are written according to test requirements, which reduces the test cost and can provide the test function results required by the vehicle more accurately.

[0010] Furthermore, in one embodiment of the present application, after controlling the vehicle to be tested to perform the lane changing action and / or the speed changing action, it also includes: obtaining the collision time, headway, speed change information and lane position change information of the vehicle to be tested during the execution of the lane changing action and / or the speed changing action; and drawing a visual image based on the collision time, the headway, the speed change information and the lane position change information.

[0011] According to the above technical means, the test accuracy is improved through the visualization module to achieve automated scenario construction.

[0012] Furthermore, in one embodiment of the present application, the testing method of the above-mentioned autonomous driving simulation platform also includes: obtaining the total test time of the vehicle to be tested; and marking the target test case according to the total test time and the test result.

[0013] According to the above technical means, the total test time and the test results are used as labels to mark the target test cases to improve the accuracy of the test.

[0014] Furthermore, in one embodiment of the present application, the target object includes at least one of a pedestrian, a bicycle, a motorcycle, a traffic sign, a traffic light and an obstacle.

[0015] According to the above technical means, the feasibility of vehicle automated testing is achieved by setting multiple targets.

[0016] A second aspect of the present application provides a testing device for an autonomous driving simulation platform, comprising: a generation module, for determining static scene parameters and dynamic scene parameters of a test scenario according to a target test case, and generating a test scenario that meets preset scene standards according to the static scene parameters and the dynamic scene parameters; an acquisition module, for generating a test script according to the target test case, and based on the test scenario, testing a vehicle to be tested and a target object according to the test script, and acquiring position information of the vehicle to be tested, speed information of the vehicle to be tested, and position information of the target object during the test; and a control module, for controlling the vehicle to be tested to perform lane changing and / or speed changing actions based on the position information and speed information of the vehicle to be tested and the position information of the target object, and generating a test report according to the test results of performing the lane changing and / or speed changing actions and preset expected results.

[0017] Furthermore, in one embodiment of the present application, before determining the static scene parameters and the dynamic scene parameters of the test scenario according to the target test case, the generation module also includes: a first acquisition unit, used to obtain the current test requirements of the vehicle to be tested; and a writing unit, used to write the target test case according to the current test requirements.

[0018] Furthermore, in one embodiment of the present application, after controlling the vehicle to be tested to perform the lane changing action and / or the speed changing action, the control module also includes: a second acquisition unit, used to obtain the collision time, headway, speed change information and lane position change information of the vehicle to be tested during the execution of the lane changing action and / or the speed changing action; and a drawing unit, used to draw a visual image based on the collision time, the headway, the speed change information and the lane position change information.

[0019] Furthermore, in one embodiment of the present application, the testing device of the above-mentioned autonomous driving simulation platform also includes: a third acquisition unit, used to obtain the total test time of the vehicle to be tested; and a labeling unit, used to label the target test case according to the total test time and the test result.

[0020] Furthermore, in one embodiment of the present application, the target object includes at least one of a pedestrian, a bicycle, a motorcycle, a traffic sign, a traffic light and an obstacle.

[0021] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the testing method of the autonomous driving simulation platform as described in the above embodiment.

[0022] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the testing method of the autonomous driving simulation platform as described in the above embodiments.

[0023] The embodiment of the present application determines the static scene parameters and dynamic scene parameters of the test scene according to the target test case, generates a test scene that meets the preset scene standard, generates a test script according to the target test case, and tests the vehicle to be tested and the target object based on the test scene, obtains the position information, speed information of the vehicle to be tested and the position information of the target object during the test, thereby controlling the vehicle to be tested to perform lane change and / or speed change, and generates a test report according to its test results and preset expected results. According to the test method of the autonomous driving simulation platform of the embodiment of the present application, the construction of the automated scene is realized, thereby solving the problem that the test method of the related technology requires a large amount of calculation to construct the test scene, and the test cases and test scenes cannot be reused due to the change of the logic of the autonomous driving algorithm, thereby reducing the efficiency of scene construction and increasing labor costs.

[0024] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0026] Figure 1 A schematic diagram of an autonomous driving simulation test platform architecture according to an embodiment of the present application;

[0027] Figure 2 A flowchart of a testing method for an autonomous driving simulation platform provided according to an embodiment of the present application;

[0028] Figure 3 is a block diagram of a testing device for an autonomous driving simulation platform according to an embodiment of the present application;

[0029] Figure 4 Schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0030] Explanation of the reference numerals: 10 - test device of the autonomous driving simulation platform; 100 - generation module, 200 - acquisition module, 300 - control module. DETAILED DESCRIPTION

[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0032] The following describes the test method, device, electronic device and medium of the automatic driving simulation platform of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the test method of the related technology mentioned in the above background technology requires a large amount of calculation to construct the test scene, and due to the change of the automatic driving algorithm logic, the test case and the test scene cannot be reused, thereby reducing the efficiency of scene construction and increasing the labor cost, the present application provides a test method for an automatic driving simulation platform, in which the static scene parameters and dynamic scene parameters of the test scene are determined according to the target test case, and a test scene that meets the preset scene standard is generated, and a test script is generated according to the target test case and based on the test scene, the vehicle to be tested and the target object are tested, and the position information, speed information and the position information of the vehicle to be tested during the test process are obtained, so as to control the vehicle to be tested to perform lane change and / or speed change, and generate a test report according to its test results and the preset expected results, so as to realize the construction of the automated scene. Thus, the problem that the test method of the related technology requires a large amount of calculation to construct the test scene, and due to the change of the automatic driving algorithm logic, the test case and the test scene cannot be reused, thereby reducing the efficiency of scene construction and increasing the labor cost is solved.

[0033] Specifically, before introducing the specific test process of the embodiment of the present application, the test platform module involved in the embodiment of the present application is first introduced. Figure 1 As shown, it includes: a test management module 1, a scenario library module 2, a model library module 3, a simulation data processing module 4, a data conversion module 5, a test script module 6, and an autonomous driving algorithm module 7.

[0034] Among them, the test management module 1 includes three sub-modules, namely: system requirement use case management module 11, test case management module 12, and test result management module 13; the scenario library module 2 includes three sub-modules, namely scenario design document 21, scenario automatic generation module 22, and scenario module 23; the model library module 3 includes three sub-modules, namely vehicle model 31, target object model 32, and road facility 33 for simulation test; the simulation data processing module 4 includes four sub-modules, namely sensor module 41, positioning module 42, visualization module 43, and dynamics module 44; the test script module 6 includes three sub-modules, namely target object control module 61, vehicle control module 62, and signal observation module 63.

[0035] Specifically, Figure 2 A flowchart of a testing method for an autonomous driving simulation platform provided in an embodiment of the present application.

[0036] like Figure 2 As shown, the testing method of the autonomous driving simulation platform includes the following steps:

[0037] In step S201, static scene parameters and dynamic scene parameters of a test scene are determined according to a target test case, and a test scene that meets a preset scene standard is generated according to the static scene parameters and the dynamic scene parameters.

[0038] Furthermore, in one embodiment of the present application, before determining the static scenario parameters and dynamic scenario parameters of the test scenario according to the target test case, it also includes: obtaining the current test requirements of the vehicle to be tested; and writing the target test case according to the current test requirements.

[0039] Preferably, the preset scenario standard of the embodiment of the present application can adopt a test scenario that complies with the OpenX standard, and can also be set by those skilled in the art according to actual test conditions and requirements, which is not specifically limited here.

[0040] Specifically, Figure 1 As shown, in the embodiment of the present application, the system requirement use case management module can store the corresponding test cases and labels written according to the autonomous driving system test requirement Use Case, and automatically record the user's addition, modification, and deletion of the Use Case. At this time, the test case management module stores the test cases and labels corresponding to the software requirement Use Case, and is associated with the system requirement use case management module and the test result management module. In other words, when the Use Case is modified or deleted, the corresponding test case will be marked with the corresponding label, and the test result will also be marked on the test case as a label, so that the test case can be filtered according to the label.

[0041] Furthermore, according to the description of the above test cases, the scene parameters involved are entered into the scene design document of the scene library management module, and the scene design document is read by the scene automatic generation module, such as the static scene parameters and dynamic scene parameters of the test scene, and dynamic scenes and static scenes that comply with the OpenX standard are automatically constructed and stored in the scene library module.

[0042] In step S202, a test script is generated according to the target test case, and based on the test scenario, the vehicle to be tested and the target object are tested according to the test script, and the position information of the vehicle to be tested, the speed information of the vehicle to be tested and the position information of the target object are obtained during the test.

[0043] Specifically, in the embodiment of the present application, the test script module generates a test script according to the target test case, and based on the dynamic test scenario and static test scenario generated above, the test vehicle and target object are tested according to the test script, so that the control of the test vehicle and other target objects can be realized through the signal observation module in the test script module during the test process, such as obtaining the position information of the test vehicle, the speed information of the test vehicle and the position information of the target object during the test process through the signal observation module. Among them, the target object includes at least one of pedestrians, bicycles, motorcycles, traffic signs, traffic lights and obstacles, so as to be used for the construction of dynamic scene and static scene visualization files in the test scenario.

[0044] Furthermore, the embodiment of the present application transmits the corresponding signals of the above-mentioned scene information to the data conversion module through the sensor module, positioning module and dynamics module in the simulation data processing module, and at the same time receives the data returned by the autonomous driving algorithm to perform simulation calculations for the next frame. At this time, the user can observe the simulation test process of the vehicle to be tested and the target object through the visualization module.

[0045] Among them, the autonomous driving algorithm can be accessed by the autonomous driving algorithm module of the embodiment of the present application, including algorithm modules such as environment reconstruction, prediction decision-making, lateral and longitudinal control modules, and path planning, and the simulation data processing module, the test script module, and the autonomous driving algorithm module are simulated according to the data conversion module. Signal conversion and transmission between the modules, and the information output by the simulation data processing module is converted into a CAN (Controller Area Network) message signal received by the autonomous driving algorithm, thereby improving the accuracy of the simulation test results.

[0046] In step S203, based on the position information and speed information of the vehicle to be tested and the position information of the target object, the vehicle to be tested is controlled to perform a lane change and / or a speed change, and a test report is generated according to the test results of the lane change and / or speed change and the preset expected results.

[0047] Furthermore, in one embodiment of the present application, after controlling the vehicle to be tested to perform a lane change and / or a speed change action, it also includes: obtaining the collision time, headway, speed change information and lane position change information of the vehicle to be tested during the lane change and / or speed change action; and drawing a visual image based on the collision time, headway, speed change information and lane position change information.

[0048] Specifically, after the embodiment of the present application outputs the position and speed information of the vehicle to be tested and the target object during the test process through the above-mentioned signal observation module, at this time, the target object can complete the speed change, lane change and other actions according to the position and speed state of the vehicle to be tested. At the same time, the signal observation module in the test script module will also record the TTC (Time To Collision), THW (Time Headway), speed change of the vehicle to be tested, lane position change and other information during the entire test process, and feed it back to the test result management module. At this time, the test result evaluation module draws the TTC, THW, speed change information and lane position change information of the vehicle to be tested output by the signal observation module as a visual image, and generates a test report according to the expected results in the test case.

[0049] Furthermore, in one embodiment of the present application, the testing method of the above-mentioned autonomous driving simulation platform also includes: obtaining the total test time of the vehicle to be tested; and marking the target test case according to the total test time and the test results.

[0050] Specifically, the test results obtained by the above-mentioned test result evaluation module in the embodiment of the present application are combined with the total test time of the vehicle to be tested, and the test time and test results are marked as labels on the corresponding test cases according to the test case management module to achieve the selectivity and reusability of the test scenarios, thereby realizing the construction of automated scenarios.

[0051] According to the test method of the autonomous driving simulation platform of the embodiment of the present application, the static scene parameters and dynamic scene parameters of the test scene are determined according to the target test case, and a test scene that meets the preset scene standard is generated. A test script is generated according to the target test case and based on the test scene, the vehicle to be tested and the target object are tested, and the position information, speed information and the position information of the vehicle to be tested during the test are obtained, so as to control the vehicle to be tested to perform lane change and / or speed change, and generate a test report according to its test results and the preset expected results, so as to realize the construction of an automated scene. Thus, the problem that the test method of the related technology requires a large amount of calculation to construct the test scene, and the test cases and test scenes cannot be reused due to the change of the logic of the autonomous driving algorithm is solved, thereby reducing the efficiency of scene construction and increasing labor costs.

[0052] Next, the test device of the autonomous driving simulation platform proposed in the embodiment of the present application is described with reference to the accompanying drawings.

[0053] Figure 3 It is a block diagram of a test device for an autonomous driving simulation platform according to an embodiment of the present application.

[0054] like Figure 3As shown, the test device 10 of the autonomous driving simulation platform includes: a generation module 100, an acquisition module 200 and a control module 300.

[0055] The generating module 100 is used to determine the static scene parameters and the dynamic scene parameters of the test scene according to the target test case, and to generate the test scene that meets the preset scene standard according to the static scene parameters and the dynamic scene parameters;

[0056] An acquisition module 200 is used to generate a test script according to a target test case, and based on the test scenario, test the vehicle to be tested and the target object according to the test script, and obtain the position information of the vehicle to be tested, the speed information of the vehicle to be tested, and the position information of the target object during the test; and

[0057] The control module 300 is used to control the vehicle to be tested to perform lane changing and / or speed changing actions based on the position information and speed information of the vehicle to be tested and the position information of the target object, and to generate a test report according to the test results of the lane changing and / or speed changing actions and the preset expected results.

[0058] Furthermore, in one embodiment of the present application, before determining the static scene parameters and the dynamic scene parameters of the test scene according to the target test case, the generating module 100 further includes: a first acquiring unit and a writing unit.

[0059] Wherein, the first acquisition unit is used to acquire the current test requirements of the vehicle to be tested;

[0060] The writing unit is used to write target test cases according to current test requirements.

[0061] Furthermore, in one embodiment of the present application, after controlling the vehicle to be tested to perform a lane change action and / or a speed change action, the control module 300 further includes: a second acquisition unit and a drawing unit.

[0062] The second acquisition unit is used to acquire the collision time, headway, speed change information and lane position change information of the vehicle to be tested during the lane change action and / or speed change action;

[0063] The drawing unit is used to draw a visualization image according to the collision time, the headway, the speed change information and the lane position change information.

[0064] Furthermore, in one embodiment of the present application, the above-mentioned testing device 10 of the autonomous driving simulation platform further includes: a third acquisition unit and a labeling unit.

[0065] The third acquisition unit is used to acquire the total test time of the vehicle to be tested;

[0066] The annotation unit is used to annotate target test cases according to the total test time and test results.

[0067] Furthermore, in one embodiment of the present application, the target object includes at least one of a pedestrian, a bicycle, a motorcycle, a traffic sign, a traffic light and an obstacle.

[0068] According to the test device of the autonomous driving simulation platform of the embodiment of the present application, the static scene parameters and dynamic scene parameters of the test scene are determined according to the target test case, and a test scene that meets the preset scene standard is generated. A test script is generated according to the target test case and based on the test scene, the vehicle to be tested and the target object are tested, and the position information, speed information and the position information of the vehicle to be tested during the test are obtained, so as to control the vehicle to be tested to perform lane change and / or speed change, and a test report is generated according to its test results and the preset expected results to realize the construction of an automated scene. Thus, the problem that the test method of the related technology requires a large amount of calculation to construct the test scene, and the test cases and test scenes cannot be reused due to the change of the logic of the autonomous driving algorithm is solved, thereby reducing the efficiency of scene construction and increasing labor costs.

[0069] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0070] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0071] When the processor 402 executes the program, the testing method of the autonomous driving simulation platform provided in the above embodiment is implemented.

[0072] Furthermore, the electronic device further comprises:

[0073] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0074] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0075] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0076] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0077] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0078] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0079] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the testing method of the autonomous driving simulation platform as described above.

[0080] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0081] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0082] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0083] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.

[0084] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0085] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A testing method for an autonomous driving simulation platform, characterized in that: The following steps are involved: Determine static scene parameters and dynamic scene parameters of the test scene according to the target test case, and generate a test scene that meets the preset scene standard according to the static scene parameters and the dynamic scene parameters; Generate a test script according to the target test case, and based on the test scenario, test the vehicle to be tested and the target object according to the test script, and obtain the position information of the vehicle to be tested, the speed information of the vehicle to be tested and the position information of the target object during the test; as well as Based on the position information and speed information of the vehicle to be tested and the position information of the target object, controlling the vehicle to be tested to perform a lane change action and / or a speed change action, and generating a test report according to the test results of performing the lane change action and / or the speed change action and a preset expected result; After controlling the vehicle to be tested to perform the lane changing action and / or the speed changing action, the method further includes: Acquiring collision time, headway, speed change information, and lane position change information of the vehicle to be tested during the lane change action and / or the speed change action; A visualization image is drawn according to the collision time, the headway time, the speed change information, and the lane position change information.

2. The method according to claim 1, characterized in that Before determining the static scene parameter and the dynamic scene parameter of the test scene according to the target test case, the method further includes: Obtaining the current test requirements of the vehicle to be tested; Write the target test case according to the current test requirement.

3. The method according to claim 1, characterized in that Also includes: Obtaining the total test time of the vehicle to be tested; The target test case is labeled according to the total test time and the test result.

4. The method according to any one of claims 1 to 3, characterized in that: The target object includes at least one of pedestrians, bicycles, motorcycles, traffic signs, traffic lights and obstacles.

5. A test device for an autonomous driving simulation platform, characterized in that: include: A generating module, used to determine static scene parameters and dynamic scene parameters of a test scene according to a target test case, and to generate a test scene that meets a preset scene standard according to the static scene parameters and the dynamic scene parameters; An acquisition module is used to generate a test script according to the target test case, and based on the test scenario, test the vehicle to be tested and the target object according to the test script, and obtain the position information of the vehicle to be tested, the speed information of the vehicle to be tested and the position information of the target object during the test; as well as a control module, configured to control the vehicle to be tested to perform a lane change action and / or a speed change action based on the position information and speed information of the vehicle to be tested and the position information of the target object, and to generate a test report according to the test result of performing the lane change action and / or the speed change action and a preset expected result; After controlling the vehicle to be tested to perform the lane changing action and / or the speed changing action, the control module further includes: A second acquisition unit is used to acquire the collision time, headway, speed change information and lane position change information of the vehicle to be tested during the execution of the lane change action and / or the speed change action; A drawing unit is used to draw a visualization image according to the collision time, the headway time, the speed change information and the lane position change information.

6. The device according to claim 5, characterized in that Before determining the static scene parameters and the dynamic scene parameters of the test scene according to the target test case, the generating module further includes: A first acquisition unit, used to acquire the current test requirement of the vehicle to be tested; A writing unit is used to write the target test case according to the current test requirement.

7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a testing method for an autonomous driving simulation platform as described in any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement a testing method for an autonomous driving simulation platform as described in any one of claims 1 to 4.