Parking simulation test system and method of vehicle, vehicle and storage medium
Through the vehicle parking simulation test system, combined with the virtual vehicle operating environment and sensor model, the problem of poor platform adaptability in the autonomous driving simulation environment is solved, and efficient parking simulation testing is achieved.
Patent Information
- Application Number
- CN202410779578.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-18
AI Technical Summary
The existing autonomous driving simulation environment uses separate software-in-the-loop SIL or hardware-in-the-loop HIL for simulation, resulting in the inability to use different autonomous driving platforms and poor simulation results.
Provides a vehicle parking simulation test system, including a scene simulation software system, a test management system, an autonomous driving domain control system and an Ethernet converter, and performs parking simulation tests by building a simulation model and sensor model of a virtual vehicle operating environment Data collection and control command generation realize the combination of software and hardware and adapt to various hardware sensors.
It improves the efficiency and adaptability of parking simulation testing, can be applied to various application platforms, and does not need to be deeply bound to specific sensor models, achieving more accurate simulation results.
Smart Images

Figure CN118797803A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle parking simulation testing, and in particular to a vehicle parking simulation testing system and method thereof, a vehicle and a storage medium. Background Art
[0002] With the continuous development of autonomous driving technology, the types and number of sensors carried by autonomous driving systems are gradually increasing, and autonomous driving simulation technology is becoming more complex. The autonomous driving simulation environment mainly includes software in the loop SIL (software in loop) and hardware in the loop HIL (hardware in loop). In the HIL test environment, sensors mainly use raw signal simulation and target list simulation. However, the current autonomous driving simulation environment uses separate software in the loop SIL or hardware in the loop HIL for simulation, which makes it impossible to use different autonomous driving platforms and the simulation effect of the autonomous driving simulation environment is poor. Summary of the invention
[0003] The present application provides a parking simulation test system and method for a vehicle, a vehicle and a storage medium to solve the problem in the prior art that the autonomous driving simulation environment is simulated using a separate software-in-the-loop (SIL) or hardware-in-the-loop (HIL), resulting in the inability to use different autonomous driving platforms and poor simulation effect of the autonomous driving simulation environment.
[0004] In a first aspect, the present application provides a parking simulation test system for a vehicle, the parking simulation test system comprising a scenario simulation software system, a test management system, an autonomous driving domain control system and an Ethernet converter; the scenario simulation software system is used to construct a first simulation model that characterizes a virtual vehicle operating environment, and to construct a second simulation model that collects parking simulation test data in the virtual vehicle operating environment based on a sensor model, and to convert the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and to transmit the interface protocol data to the autonomous driving domain control system based on the Ethernet converter; the autonomous driving domain control system is used to generate a control command based on the interface protocol data, and to send the control command to the test management system; the test management system is used to perform a parking simulation test on the vehicle based on the control command.
[0005] In the second aspect, the present application provides a testing method for a parking simulation test system of the vehicle based on the first aspect, the method comprising: the scenario simulation software system constructs a first simulation model that characterizes the virtual vehicle operating environment, and constructs a second simulation model based on a sensor model to collect parking simulation test data in the virtual vehicle operating environment, and converts the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmits the interface protocol data to the autonomous driving domain control system based on the Ethernet converter; the autonomous driving domain control system generates a control command based on the interface protocol data, and sends the control command to the test management system; the test management system performs a parking simulation test on the vehicle based on the control command.
[0006] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the test method described in any one of the embodiments of the second aspect above.
[0007] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the test method described in any one of the embodiments of the second aspect above.
[0008] Beneficial effects of this application:
[0009] Through the parking simulation test system of the vehicle in the embodiment of the present application, the scene simulation software system can construct a first simulation model that represents the virtual vehicle operating environment, and construct a second simulation model based on the sensor model to collect parking simulation test data in the virtual vehicle operating environment, and convert the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmit the interface protocol data to the autonomous driving domain control system based on the Ethernet converter. Then, the autonomous driving domain control system can generate a control command based on the interface protocol data, and send the control command to the test management system. Finally, the test management system performs a parking simulation test on the vehicle based on the control command. It can be seen that in the embodiment of the present application, parking simulation test data can be collected in the virtual vehicle operating environment based on the sensor model, and then the collected data can be converted into interface protocol data that can be processed by the autonomous driving domain control system application software, and the corresponding control command is generated based on the interface protocol data, realizing the combination of software and hardware in the parking test. This method not only makes the parking simulation test more efficient, but also does not need to be deeply bound to the sensor model parameters, that is, it can be adapted to various hardware sensors, so it can be applied to various application platforms. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A schematic diagram of the structure of a vehicle parking simulation test system provided by the present application;
[0011] Figure 2 One of the optional structural schematic diagrams of a vehicle parking simulation test system provided in an embodiment of the present application;
[0012] Figure 3 A second optional structural diagram of a vehicle parking simulation test system provided in an embodiment of the present application;
[0013] Figure 4 A third optional structural diagram of a vehicle parking simulation test system provided in an embodiment of the present application;
[0014] Figure 5 A fourth optional structural diagram of a vehicle parking simulation test system provided in an embodiment of the present application;
[0015] Figure 6 A schematic diagram of the structure of a parking test system based on target-level simulation provided in an embodiment of the present application;
[0016] Figure 7 A flow chart of a sensor target list interface simulation method provided in an embodiment of the present application;
[0017] Figure 8 A flowchart of the ultrasonic radar plug-in development method provided in an embodiment of the present application;
[0018] Fig. 9 The ultrasonic radar point cloud data simulation flow chart provided in the embodiment of the present application;
[0019] Fig.10 The ultrasonic point cloud data processing flow chart provided in the embodiment of the present application;
[0020] Fig.11 A schematic diagram of the internal modules of the sensor receiving module provided in an embodiment of the present application;
[0021] Fig.12 A flowchart of a testing method of a vehicle-based parking simulation testing system provided in an embodiment of the present application;
[0022] Fig.13 An optional flow chart of a testing method of a vehicle-based parking simulation testing system provided in an embodiment of the present application;
[0023] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0026] For ease of description, spatial relative terms may be used in the text to describe the relative position or movement of an element or feature as shown in the figure relative to another element or feature, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", "front", "back", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure undergoes a position flip or a change in posture or a change in motion state, then these directional indications will also change accordingly, for example: an element described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." can include both upper and lower orientations. The device can be oriented otherwise (rotated 90 degrees or in other directions) and the spatial relative descriptors used in the text are interpreted accordingly.
[0027] In order to solve the technical problem that the autonomous driving simulation environment in the prior art is simulated by using a separate software-in-the-loop (SIL) or hardware-in-the-loop (HIL), which makes it impossible to use different autonomous driving platforms and the simulation effect of the autonomous driving simulation environment is poor, the present application provides a vehicle parking simulation test system, such as Figure 1 As shown, the parking simulation test system includes a scenario simulation software system, a test management system, an autonomous driving domain control system and an Ethernet converter;
[0028] A scenario simulation software system for constructing a first simulation model that represents a virtual vehicle operating environment, and a second simulation model that performs parking simulation test data acquisition in the virtual vehicle operating environment based on a sensor model, and converting the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmitting the interface protocol data to an autonomous driving domain control system based on an Ethernet converter;
[0029] In a specific example, the virtual vehicle operating environment may include a road environment, traffic participants, etc. The road environment may specifically include parking space type, parking space size, parking space range, parking space line, obstacles, etc. Traffic participants include vehicles, people or objects around the vehicle.
[0030] In addition, the sensor model in the embodiment of the present application can be a camera simulation model and an ultrasonic radar simulation model. Based on the camera simulation model, the parking information around the vehicle can be simulated in the virtual vehicle operating environment, such as parking space line information, parking space status information, etc., and according to the ultrasonic radar simulation model, the obstacle information around the vehicle can be simulated in the virtual vehicle operating environment, such as pillars or other obstacles around the vehicle.
[0031] The autonomous driving domain control system is used to generate control commands based on the interface protocol data and send the control commands to the test management system;
[0032] The autonomous driving domain control system mainly includes application layer software for generating control commands. Therefore, after constructing the virtual vehicle operating environment based on the scenario simulation software system, it is necessary to convert the data output by the corresponding model into data that can be processed by the application layer software, and then output the corresponding control command based on the data. That is, in this application, a combination of hardware model and software algorithm is implemented to carry out simulated parking test.
[0033] A test management system is used to perform parking simulation tests on vehicles based on control commands.
[0034] It can be seen that after receiving the control command, the test management system performs corresponding control in the virtual vehicle operating environment, such as steering, acceleration, deceleration, braking, etc.
[0035] Through the parking simulation test system of the vehicle in the embodiment of the present application, the scene simulation software system can construct a first simulation model that represents the virtual vehicle operating environment, and construct a second simulation model based on the sensor model to collect parking simulation test data in the virtual vehicle operating environment, and convert the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmit the interface protocol data to the autonomous driving domain control system based on the Ethernet converter. Then, the autonomous driving domain control system can generate a control command based on the interface protocol data, and send the control command to the test management system. Finally, the test management system performs a parking simulation test on the vehicle based on the control command. It can be seen that in the embodiment of the present application, parking simulation test data can be collected in the virtual vehicle operating environment based on the sensor model, and then the collected data can be converted into interface protocol data that can be processed by the autonomous driving domain control system application software, and the corresponding control command is generated based on the interface protocol data, realizing the combination of software and hardware in the parking test. This method not only makes the parking simulation test more efficient, but also does not need to be deeply bound to the sensor model parameters, that is, it can be adapted to various hardware sensors, so it can be applied to various application platforms.
[0036] The following will further explain how the first simulation model and the second simulation model are constructed based on each module in the scene simulation software system. Figure 2 As shown, the scene simulation software system in the embodiment of the present application may further include a construction module, a first simulation module, a second simulation module and a third simulation module;
[0037] A construction module is used to construct a first simulation model of a virtual vehicle operating environment, wherein the first simulation model includes a road environment model, a traffic participant model, and a second simulation model; the second simulation model includes N surround-view camera simulation models and M ultrasonic radar simulation models in the vehicle sensor model;
[0038] In the specific example, the road environment model is used to establish the road conditions, parking lines and parking spaces for vehicle operation. The traffic participant model is used to establish the movement trajectories of target vehicles, pedestrians, obstacles, etc. around the vehicle. The sensor model is used to establish the ultrasonic radar model and fisheye camera model required for the parking system, as well as to set the IP address, network port, transmission cycle, and data transmission range for transmitting sensor data.
[0039] In the specific example, for the construction of the fisheye camera model, it is necessary to arrange the positions and posture parameters of the four surround-view cameras designed for the vehicle on the vehicle in the simulation scene, such as setting the field of view (FOV), resolution, and using the VTD (Virtual Test Drive) plug-in to convert the distortion matrix table to generate a distortion ID so that the virtual fisheye camera model is consistent with the real camera.
[0040] It should be noted that the body coordinate system and sensor coordinate system of the VTD vehicle model are different. In essence, the body coordinate system uses the Tait-Bryan angle, while the sensor coordinate system uses the Euler angle. The Euler angle rotation defines the α, β, and γ angles of rotation around zxy, namely the heading (rotation around the Z axis), pitch (Pitch-rotation around the X axis), and roll (Roll-rotation around the Y axis). When configuring the position and attitude of the sensor, a new transformation M is added. The rotation matrix is as follows:
[0041]
[0042] By determining the inverse matrix of M and changing the signs of the pitch and roll angles, the correct result can be obtained.
[0043] a first simulation module, configured to obtain first parking information, convert the first parking information into first interface protocol data, and transmit the first interface protocol data to the autonomous driving domain control system based on an Ethernet converter; wherein the first parking information represents parking line and parking space information during parking, and is collected by N surround-view fisheye camera models in a vehicle operating environment;
[0044] In a specific example, the value of N may be 4, and may be set accordingly according to requirements. For example, in order to collect the first parking information in more detail and accuracy, more surround fisheye camera models may be set, such as 6, 8, etc.
[0045] a second simulation module, configured to obtain second parking information, convert the second parking information into second interface protocol data, and transmit the second interface protocol data to the autonomous driving domain control system based on an Ethernet converter, wherein the second parking information represents obstacle information during the parking process and is collected by M ultrasonic radar models in a vehicle operating environment;
[0046] In the specific example, the value of M can be 12, and it can be set accordingly according to the needs. For example, in order to collect the second parking information more detailed and accurately, more ultrasonic radar models can be set, such as 14. In addition, the workflow of the ultrasonic radar model can be: first set the radar's operating frequency, detection range, field of view FOV and other parameters. When the ultrasonic radar model is running, it emits light into the field of view FOV sector covered by each. When the light is emitted to the surrounding environment, it will fly forward all the time. When the light intersects with the target during flight, it will be reflected back. The ultrasonic radar model adopts the time of flight (TOF) detection method, that is, by directly calculating the time difference t (in seconds) between the emission and reception of the light, the distance d (in meters) of the target is measured. The formula is: d = c*t / 2 (c is the speed of light).
[0047] The third simulation module is used to parse the data corresponding to the first simulation model, convert the parsed data into third interface protocol data, and transmit the third interface protocol data to the autonomous driving domain control system based on an Ethernet converter.
[0048] In a specific example, data information detected in the virtual scene can be output through a Runtime Data Bus (RDB) data structure, such as parking space type, parking space size, parking space range, surrounding obstacles, etc. That is, the data obtained after parsing the data corresponding to the first simulation model can be an RDB data structure, which is then converted into the third interface protocol data.
[0049] In the embodiment of the present application, the first simulation module performs simulation based on the N surround-view fish camera simulation models in the second simulation model, and also needs to parse and convert the data output by the simulation so that the application layer software of the subsequent autonomous driving domain control system can process it. Figure 3 As shown, the first simulation module in the embodiment of the present application may include a first data parsing module and a first data conversion module;
[0050] The first data parsing module is used to create a socket for port communication, obtain the byte stream generated by the N surround fisheye camera models based on the socket, and run the bus RDB message based on the data in the byte stream to filter out the first parking information;
[0051] It can be seen that in the embodiment of the present application, the communication with the port assigned to the required sensor can be achieved by creating a socket and specifying the communication protocol, IP address, port and other parameters, and the sensor data byte stream is received through the recv or recvfrom function, wherein the data format transmitted by the scene simulation software VTD is RDB, and an RDB message (RDB_MSG_t) is composed of 1 header (RDB_MSG_HDR_t) + multiple sub-packets, wherein 1 sub-packet is composed of 1 sub-packet header (RDB_MSG_ENTRY_HDR_t) + 1 sub-packet body (PKG). Parse RDB_MSG_t based on the RDB data format, obtain the simulation time simTime, simulation frame number simFrame, sub-packet header RDB_MSG_ENTRY_HDR_t, sub-packet body and other data, use the while loop structure to continuously intercept the subsequent byte stream and parse the sub-packets one by one, and filter out the required sensor simulation data according to the information Pkgid in the sub-packet header. The surround-view camera simulation model is used to simulate and obtain parking line and parking space information. Its simulation data exists in the RDB_OBJECT_STATE_t subpackage of Pkgid=9&type=“RDB_OBJECT_TYPE_PARKING_SPACE”, and the x, y, heading and other data of the parking line and parking space are extracted.
[0052] The first data conversion module is used to convert the coordinate data in the first parking information into data recognized by the autonomous driving domain control system, and store the converted data and the data in the first parking information except the coordinate data into a target format file to obtain the first interface protocol data.
[0053] In the embodiment of the present application, data conversion refers to processing and converting the acquired virtual scene data into the interface protocol data of the controller application layer software component of the autonomous driving domain control system. The interface file used in the embodiment of the present application is a Proto format file, and the logical conversion and serialized data assignment are performed according to the preset Proto protocol. Furthermore, the interface data simulated by the surround view camera simulation model include parking line parking type (vertical, horizontal, horizontal oblique, vertical oblique), parking status, parking space occupied obstacle type, parking space 4 corner point coordinates (global coordinate system, DR coordinate system), etc., wherein the global coordinates of the 4 corner points of the parking space are the earth coordinate system, i.e. X+ East, Y+ North, the origin position is determined by the origin of the static road model, and the DR coordinate system is bound to the initial posture of the vehicle in this power-on cycle, i.e. the initial position is used as the origin, X+ is the direction of the front of the vehicle, and Y+ is the left of the vehicle. Assume [Xv, Yv, θv] is the global pose of the DR coordinate system, [Xr, Yr, θr] is the pose of the corner point in the DR coordinate system, [Xs, Ys, θs] is the global pose of the corner point, and perform translation and transformation on the coordinates, then the coordinate transformation formula can be obtained as follows:
[0054] θs=θv+θr
[0055]
[0056] It can be seen that the coordinate data format can be unified through the above coordinate conversion formula, so that subsequent data processing and conversion can be performed based on the same data format.
[0057] In the embodiment of the present application, the first simulation module performs simulation based on the M ultrasonic radar simulation models in the second simulation model, and also needs to parse and convert the data output by the simulation so that the application layer software of the subsequent autonomous driving domain control system can process it. Figure 3 As shown, the first simulation module in the embodiment of the present application includes a second data parsing module and a second data conversion module;
[0058] A second data parsing module is used to create a socket for port communication, obtain the byte stream generated by the M ultrasonic radar simulation models based on the socket, and run the bus RDB message based on the data in the byte stream to filter out the second parking information;
[0059] It should be noted that, similar to the data output by the simulation model of the N surround-view fish cameras mentioned above, RDB can be used for data screening to obtain the second parking information. Specifically, the interface data of the ultrasonic radar simulation can include 12 radar channel distance values, sector distance values, ultrasonic parking space types, coordinates of the four corner points of the ultrasonic parking space, clustered point cloud coordinates, etc.
[0060] It can be seen that the second parking information in the embodiment of the present application also includes ultrasonic radar point cloud data; therefore, the second data parsing module is also used to divide the point cloud data simulated by M ultrasonic radar simulation models into 360 parts, and filter out the point cloud data closest to the vehicle from each of the 360 parts, and determine the filtered point cloud data as ultrasonic radar point cloud data, wherein the angle range corresponding to each of the 360 points cloud data is 1°.
[0061] In this regard, in a specific example, the ultrasonic radar model obtains the point cloud data and transfers the data to the structure payload (payload), which contains the point coordinates x, y, z and the distance value distance. There are 10,800 points in the read point cloud data (360*30, 30 point cloud data for each angle in 360°), and secondary development is required to screen and extract effective and appropriate point data, and process them according to the distance value distance. The specific processing method is to initialize the number of exchanges to the number of elements first, and then initialize the exchange flag. The number of exchanges is reduced by one compared with the previous round, and then further determine whether the number of exchanges in this round is zero. If it is zero, it ends. If it is not zero, it starts from the beginning of the data area and continues to determine whether the two data increase order meets the requirements. If not, the exchange flag is set to exchange the two data. If it meets the requirements, it is determined whether the number of times in this round has been used up. If it has been used up, it is determined whether the exchange has occurred in this round. If so, continue to repeat the above process. The above algorithm repeatedly selects the coordinates of the points with non-zero and minimum distance and assigns them to the required cluster point cloud coordinates; the sensor fusion simulation module interface data includes lane line number, type, color, target type, distance reference position, motion status, etc.
[0062] The second data conversion module is used to convert the coordinate data in the second parking information into data recognized by the autonomous driving domain control system, and store the converted data except the coordinate data in the second parking information into a target format file to obtain second interface protocol data.
[0063] It can be seen that the data conversion module processes and converts the acquired virtual scene data into the interface protocol data of the controller application layer software component of the autonomous driving domain control system. The interface file used in the embodiment of the present application is a Proto format file, which performs logical conversion and serialized data assignment according to the preset Proto protocol. That is, the above-mentioned target format file can be a proto format file in a specific application scenario.
[0064] In an optional implementation of the embodiment of the present application, corresponding to each module of the scene simulation software system, there is a corresponding module in the autonomous driving domain control system for data reception. Figure 4 As shown, the autonomous driving domain control system includes a first receiving module, a second receiving module, a third receiving module and a control module;
[0065] A first receiving module, used for receiving first interface protocol data and sending the first interface protocol data to the control module;
[0066] A second receiving module, used for receiving second interface protocol data and sending the second interface protocol data to the control module;
[0067] A third receiving module, used for receiving third interface protocol data and sending the third interface protocol data to the control module;
[0068] The control module is used to generate a control command based on the first interface protocol data, the second interface protocol data and the third interface protocol data, and send the control command to the test management system.
[0069] It can be seen that in the embodiment of the present application, for different modules in the scene simulation software system, there are corresponding receiving modules in the autonomous driving domain control system, so that different types of data can be distinguished in the autonomous driving domain control system, so as to generate the prepared control commands later. Specifically, in the embodiment of the present application, after the autonomous driving domain control obtains various sensor data, it can issue control longitudinal and lateral control commands to the dynamics simulation module of the test management system. In the specific example, the longitudinal and lateral control commands can further control the vehicle to turn, accelerate, decelerate, brake, etc.
[0070] In an optional implementation manner of the embodiment of the present application, if Figure 5 As shown, the test management system in the embodiment of the present application includes a dynamics simulation module; the dynamics simulation module is used to generate a longitudinal control strategy and / or a lateral control strategy based on a control command, and perform parking control on vehicles to be parked among traffic participants based on the longitudinal control strategy and / or the lateral control strategy.
[0071] The following is an explanation in conjunction with the specific implementation of the embodiment of the present application. The specific implementation provides a parking test system based on target level simulation, such as Figure 6 As shown in the figure, the parking test system based on target-level simulation includes: scenario simulation software system, autonomous driving domain control, test management system, and Ethernet converter. The scenario simulation software system includes virtual environment, surround camera simulation module, ultrasonic radar simulation module, and sensor fusion simulation module; the autonomous driving domain control includes sensor receiving module, planning decision, and execution module; the test management system includes software computer, real-time machine RT and board, and CAN communication module.
[0072] The virtual environment runs on a scene simulation software computer to construct a virtual vehicle operation scenario, including a road environment model, a traffic participant target model, and a vehicle sensor model. It outputs data information detected by various sensors in the virtual scene through an RDB data structure, such as target information, parking space type, parking space size, parking space range, surrounding obstacles, etc.
[0073] The surround camera simulation module includes a scene simulation software data analysis module and a surround perception data conversion module. The scene simulation software data analysis module is used to receive and analyze the parking line and parking space information, target-level obstacle information, etc. detected by the four surround fisheye camera models configured in the scene simulation software in the virtual environment. The surround perception data conversion module is used to process and convert the parking line and parking space data and target data obtained by the scene simulation software data analysis module into the surround perception module interface protocol data of the automatic driving controller application layer software.
[0074] The ultrasonic radar simulation module includes a scene simulation software data analysis module and an ultrasonic radar data conversion module. The scene simulation software data analysis module is used to receive and analyze the obstacle target information detected by the 12 ultrasonic models configured in the scene simulation software in the virtual environment. The ultrasonic radar data conversion module is used to process and convert the obstacle target data obtained by the scene simulation software data analysis module into the ultrasonic radar module interface protocol data of the automatic driving controller application layer software.
[0075] The sensor fusion simulation module includes a scene simulation software data analysis module and a sensor fusion data conversion module. The scene simulation software data analysis module is used to receive and analyze the virtual scene data in the scene simulation software. The sensor fusion data conversion module is used to process and convert the virtual scene data obtained by the scene simulation software data analysis module into the sensor fusion module interface protocol data of the automatic driving controller application layer software.
[0076] The test management system realizes communication and data interaction with the scenario simulation software VTD and the controller through the integrated Ethernet communication module, IO module, and CAN communication module. The dynamics simulation module responds to the lateral and longitudinal control variable inputs of the driver model and the lateral and longitudinal control request signals of the automatic driving controller of the measured object, simulates the state parameters of the output of the relevant actuators, and solves the motion state quantity of the vehicle in real time (including vehicle speed, posture information, etc.), and sends the motion state quantity to the virtual environment and sensor simulation module and the automatic driving controller of the measured object. Specifically, the dynamic model can characterize the relationship between the force and motion acting on the preset vehicle, such as longitudinal speed control, which is achieved by controlling the wheel drive torque and wheel braking force; lateral angle control, which is achieved by controlling the steering wheel angle, etc.
[0077] After the autonomous driving domain control system obtains various sensor data, it issues longitudinal and lateral control commands to the execution module through the planning and decision-making module, which is then transmitted to the dynamic simulation module of the test management system 4 to further control the vehicle to perform steering, acceleration, deceleration, braking, etc.
[0078] Figure 7A schematic diagram of a flow chart of a sensor final target list interface simulation method provided in an embodiment of the present application. Figure 7 As shown, the simulation method includes the following steps:
[0079] In step 701, a road environment model, a traffic participant target model, and a vehicle sensor model are constructed in the scenario software.
[0080] Among them, the road environment model mainly establishes the road conditions and parking spaces for vehicle operation, the traffic participant model mainly establishes the movement trajectories of target vehicles, pedestrians, obstacles, etc. around the vehicle, and the sensor model mainly establishes the ultrasonic radar model and fisheye camera model required for the parking system, and sets the IP address, network port, sending cycle, and sending data range for transmitting sensor data. Among them, the establishment of the fisheye camera model requires the arrangement of the four surround view cameras designed for the vehicle on the vehicle in the simulation scene according to the position and attitude parameters, setting the field of view FOV and resolution, and using the VTD plug-in to convert the distortion matrix table to generate a distortion id so that the virtual fisheye camera model is consistent with the real camera. There is a difference between the body coordinate system inertial and the sensor coordinate system camera point of the VTD vehicle model. In essence, inertial uses Tait-Bryan angles, while camera point uses Euler angles. The rotation of Euler angles defines the α, β, γ rotation around zxy, namely the heading, pitch, and roll angles. When configuring the position and attitude of the sensor, a new transformation M is added. The rotation matrix is as follows:
[0081]
[0082] By using its inverse matrix and changing the sign of the pitch and roll angles, you can get the correct result.
[0083] The original ultrasonic radar model in VTD can only emit waves at one angle for distance detection. This system chooses to use the light cone principle to redevelop the ultrasonic radar model plug-in for simulation. Figure 8 Develop schematics for ultrasonic radar plugins, such as Figure 8 As shown, the steps of the method include:
[0084] Step 801, arranging an ultrasonic radar model on the vehicle in the simulation scene according to 12 real ultrasonic radar positions and attitude parameters designed for the vehicle;
[0085] Step 802, setting the radar's operating frequency, detection range, field of view (FOV) and other parameters. When the radar model is running, it emits light into the field of view (FOV) sector it covers. When the light is emitted to the surrounding environment, it will fly forward all the time. When the light intersects with the target during flight, it will be reflected back.
[0086] Step 803, the model uses the time-of-flight detection method, that is, by directly calculating the time difference t (in seconds) between the emission and reception of light to measure the distance d (in meters) of the target under test, the formula is: d = c*t / 2 (c is the speed of light)
[0087] In addition, the key application of ultrasonic radar in real vehicles also includes clustering point cloud data into lines. In order to achieve simulation, physical sensor plug-ins are also used. The ultrasonic radar model is configured for 360-degree horizontal scanning and 30-degree vertical field of view (FOV). Through NVIDIA's ray tracing technology, the emission and reflection reception of the laser beam can be simulated to obtain point cloud data. Fig. 9 As shown, the simulation steps of the point cloud data include:
[0088] Step 901, creating rays, which automatically generate programs and write tracing results to the output buffer;
[0089] Step 902, the light propagates in the scene and intersects with the object to form a spatially differentiated hierarchical data structure;
[0090] Step 903, the material shader calculates the result of the interaction between the light and the surface of the object;
[0091] Step 904, light filtering;
[0092] It should be noted that additional light may be generated in the above process, and the light needs to be filtered and processed before scene traversal can be performed.
[0093] Step 905, determine whether the light is valid, if it is valid, execute step 906, if it is invalid, execute step 904;
[0094] Step 906, determine whether the light hits, if hit, execute step 907;
[0095] Step 907, process the hit event, then perform scene traversal and finally output the image.
[0096] It can be seen that in the embodiment of the present application, the simulation of ultrasonic radar point cloud data can be implemented according to the above steps 901 to 907, that is, the simulation is performed according to whether the light is effective and whether it hits.
[0097] Step 702: The data analysis module receives and analyzes the virtual scene data in the scene simulation software, and the data conversion module processes and converts the acquired virtual scene data into interface protocol data of the application layer software component of the autonomous driving controller.
[0098] In the data parsing module, a socket is created and the communication protocol, IP address, port and other parameters are specified to realize communication with the port assigned to the required sensor. The sensor data byte stream is received through the recv or recvfrom function. The data format transmitted by the scene simulation software VTD is RDB (Runtime Data Bus). An RDB message (RDB_MSG_t) consists of 1 header (RDB_MSG_HDR_t) + multiple sub-packets, and 1 sub-packet consists of 1 sub-packet header (RDB_MSG_ENTRY_HDR_t) + 1 sub-packet body (PKG). Based on the RDB data format, RDB_MSG_t is parsed to obtain the simulation time simTime, simulation frame number simFrame, sub-packet header RDB_MSG_ENTRY_HDR_t, sub-packet body and other data. The while loop structure is used to continuously intercept the subsequent byte streams and parse the sub-packets one by one. According to the information Pkgid in the sub-packet header, the required sensor simulation data is filtered out. The surround-view camera simulation module mainly includes parking line and parking space information, and its simulation data exists in the RDB_OBJECT_STATE_t sub-package of Pkgid=9&type=“RDB_OBJECT_TYPE_PARKING_SPACE”, and the x, y, heading and other data of the parking line and parking space are extracted; the ultrasonic radar simulation module contains target obstacle information, and its simulation data exists in the RDB_OBJECT_STATE_t sub-package of Pkgid=17&category=“RDB_OBJECT_CATEGORY_PLAYER”, and the id, type, dist and other data of the target obstacle are extracted; the sensor fusion simulation module mainly includes lane line information, and its simulation data exists in the RDB_ROADMARK_t sub-package of Pkgid=7, and the id, type, color, curvHor, width, height and other data are extracted.
[0099] The data conversion module processes and converts the acquired virtual scene data into the interface protocol data of the application layer software component of the autonomous driving controller. The interface file used in the embodiment of the present application is a Proto format file, which performs logical conversion and serialized data assignment according to the preset Proto protocol. The surround view camera simulation module interface data includes parking line parking space type (vertical, horizontal, horizontal oblique, vertical oblique), parking space status, parking space occupied obstacle type, parking space 4 corner point coordinates (global coordinate system, DR coordinate system), etc., wherein the global coordinates of the 4 corner points of the parking space are the geodetic coordinate system, i.e. X+ East, Y+ North, the origin position is determined by the origin of the static road model, and the DR coordinate system is bound to the initial posture of the vehicle in this power-on cycle, i.e. the initial position is used as the origin, X+ is the direction of the front of the vehicle, and Y+ is the left of the vehicle. Assume [Xv, Yv, θv] is the global pose of the DR coordinate system, [Xr, Yr, θr] is the pose of the corner point in the DR coordinate system, [Xs, Ys, θs] is the global pose of the corner point, and perform translation and transformation on the coordinates, then the coordinate transformation formula can be obtained as follows:
[0100] θs=θv+θr
[0101]
[0102] In the embodiment of the present application, the ultrasonic radar simulation module interface data includes 12 radar channel distance values, sector distance values, ultrasonic parking space types, coordinates of the four corner points of ultrasonic parking spaces, clustered point cloud coordinates, etc., wherein the ultrasonic radar model acquires point cloud data and transfers the data to the structure payload, which contains point coordinates x, y, z and distance values distance.
[0103] Furthermore, there are 10,800 points (360*30) in the point cloud data. Secondary development is required to filter and extract effective and appropriate point data. Fig.10 The specific steps include:
[0104] Step 1001, initialize the number of exchanges to the number of elements;
[0105] Step 1002, the exchange flag is initialized, and the number of exchanges is reduced by one compared with the previous round;
[0106] Step 1003, determine whether the number of exchanges in this round is zero, if it is zero, end, if not, execute step 1004;
[0107] Step 1004, starting from the beginning of the data area;
[0108] Step 1005, determine whether the increasing order of the two data meets the requirements, if not, execute step 1006;
[0109] Step 1006, set the exchange flag to exchange the two data, if it meets the requirements, execute step 1007;
[0110] Step 1007, determine whether the number of times in this round has been used up, if it has been used up, execute step 1008;
[0111] Step 1008, determine whether an exchange has occurred in this round. If so, continue to repeat and start from step 1002.
[0112] The above algorithm repeatedly selects the coordinates of the points with non-zero and minimum distance and assigns them to the required cluster point cloud coordinates; the sensor fusion simulation module interface data includes lane line number, type, color, target type, distance reference position, motion status, etc.
[0113] Fig.11 Figure 1 is a schematic diagram of the internal modules of the sensor receiving module. Fig.11 As shown, the upstream module 1121 and the back-end module 1123 are original modules inside the controller, and data is transmitted between the two through a preset protocol. In the embodiment of the present application, the upstream module 1121 includes a surround perception module, an ultrasonic radar module, and a sensor fusion module. The data of the upstream module 1121 comes from an external real sensor. The present application does not connect to a real sensor, so the upstream module 1121 needs to be closed, and the preset protocol between the original upstream module 1121 and the back-end module 1123 inside the controller is simulated by the simulation module 1122, thereby completing the simulation of the input interface of the back-end module 1123.
[0114] Among them, the upstream module 1121 is commented and closed through the configuration file of the software task scheduling inside the controller, and the simulation module 222 selects the compilation platform according to the controller software development framework to compile and generate an independent executable .so file, requiring the simulation module 1122 to use the same compilation environment, dependent library and interface file version as the upstream module 1121 inside the controller. Among them, the specific generation process of the .so file includes: the compilation environment adopts the C++ environment under the Linux system, writes the C++ source code file, writes the CmakeLists.txt file, executes the compilation script . / build.sh, and the three files must be placed in the same folder. Open the compilation window in the current folder, enter the compilation command, and select the compilation platform to generate the .so file.
[0115] It can be seen that through the embodiments of the present application, by constructing a sensor model and combining the sensor model with the application layer software to generate control commands for parking tests, not only the development cost of the simulation test system is reduced and the efficiency of simulation integration development is improved, but also rapid switching of multi-platform projects is achieved, thereby solving the problem in the prior art that the test system relies on sensor simulation hardware equipment and cannot be quickly adapted to project tests of different driving platforms and models.
[0116] Corresponding to the above-mentioned system embodiment of the present application, the present application also provides a corresponding testing method, and the above-mentioned device embodiment of the present application can be used to execute the method embodiment of the present application.
[0117] like Fig.12 As shown, the testing method of the parking simulation test system based on the above vehicle includes:
[0118] Step 1201, the scenario simulation software system constructs a first simulation model representing the virtual vehicle operating environment, and constructs a second simulation model based on the sensor model to collect parking simulation test data in the virtual vehicle operating environment, and converts the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmits the interface protocol data to the autonomous driving domain control system based on an Ethernet converter;
[0119] Step 1202, the autonomous driving domain control system generates a control command based on the interface protocol data, and sends the control command to the test management system;
[0120] Step 1203: The test management system performs a parking simulation test on the vehicle based on the control command.
[0121] In an optional implementation manner of the embodiment of the present application, the scene simulation software system in the embodiment of the present application includes a construction module, a first simulation module, a second simulation module and a third simulation module; the method of the embodiment of the present application is as follows Fig.13 As shown, it may also include:
[0122] Step 1301, the construction module constructs a first simulation model of the virtual vehicle operating environment, wherein the first simulation model includes a road environment model, a traffic participant model, and a second simulation model; the second simulation model includes N surround-view camera simulation models and M ultrasonic radar simulation models in the vehicle sensor model;
[0123] Step 1302: The first simulation module obtains first parking information, converts the first parking information into first interface protocol data, and transmits the first interface protocol data to the autonomous driving domain control system based on an Ethernet converter; wherein the first parking information represents parking line and parking space information during the parking process, and is collected by N surround-view fisheye camera models in the vehicle operation environment;
[0124] In an optional implementation of the embodiment of the present application, the first simulation module includes a first data parsing module and a first data conversion module; the method of the embodiment of the present application also includes:
[0125] Step 11, the first data parsing module creates a socket for port communication, obtains byte streams generated by N surround fisheye camera models based on the socket, and runs a bus RDB message based on data in the byte stream to filter out the first parking information;
[0126] Step 12: The first data conversion module converts the coordinate data in the first parking information into data recognized by the autonomous driving domain control system, and stores the converted data and the data in the first parking information except the coordinate data into a target format file to obtain the first interface protocol data.
[0127] Step 1303: The second simulation module obtains second parking information, converts the second parking information into second interface protocol data, and transmits the second interface protocol data to the autonomous driving domain control system based on an Ethernet converter, wherein the second parking information represents obstacle information during the parking process and is collected by M ultrasonic radar models in the vehicle operation environment;
[0128] In an optional implementation of the embodiment of the present application, the first simulation module includes a second data parsing module and a second data conversion module; the method of the embodiment of the present application also includes:
[0129] Step 21, the second data parsing module creates a socket for port communication, obtains the byte stream generated by the M ultrasonic radar simulation models based on the socket, and runs the bus RDB message based on the data in the byte stream to filter out the second parking information;
[0130] Step 22, the second data conversion module converts the coordinate data in the second parking information into data recognized by the autonomous driving domain control system, and stores the converted data except the coordinate data in the second parking information into a target format file to obtain second interface protocol data.
[0131] Step 1304: The third simulation module parses the data corresponding to the first simulation model, converts the parsed data into third interface protocol data, and transmits the third interface protocol data to the autonomous driving domain control system based on the Ethernet converter.
[0132] In an optional implementation manner of an embodiment of the present application, the second parking information includes ultrasonic radar point cloud data; the method of the embodiment of the present application also includes: a second data analysis module divides the point cloud data simulated by M ultrasonic radar simulation models into 360 parts, and filters out the point cloud data closest to the vehicle from each of the 360 parts, and determines the filtered point cloud data as ultrasonic radar point cloud data, wherein the angle range corresponding to each of the 360 points cloud data is 1°.
[0133] In an optional implementation of an embodiment of the present application, the autonomous driving domain control system includes a first receiving module, a second receiving module, a third receiving module and a control module; the method of the embodiment of the present application also includes:
[0134] Step 31, the first receiving module receives the first interface protocol data, and sends the first interface protocol data to the control module;
[0135] Step 32, the second receiving module receives the second interface protocol data, and sends the second interface protocol data to the control module;
[0136] Step 33, the third receiving module receives the third interface protocol data, and sends the third interface protocol data to the control module;
[0137] Step 34: The control module generates a control command based on the first interface protocol data, the second interface protocol data, and the third interface protocol data, and sends the control command to the test management system.
[0138] In an optional implementation of an embodiment of the present application, the test management system includes a dynamics simulation module; the method of an embodiment of the present application also includes: the dynamics simulation module generates a longitudinal control strategy and / or a lateral control strategy based on the control command, and performs parking control on the vehicles to be parked among the traffic participants based on the longitudinal control strategy and / or the lateral control strategy.
[0139] In an optional implementation manner of an embodiment of the present application, the method of the embodiment of the present application also includes: a second simulation module sets the working parameters of M ultrasonic radar models, and uses a time-of-flight detection method to measure the distance between the vehicle and the target to be measured, and simulates the emission and reflection of the ultrasonic light beam to obtain an ultrasonic radar simulation model.
[0140] like Fig.14 As shown, an embodiment of the present application provides an electronic device, including a processor 1401, a communication interface 1402, a memory 1403 and a communication bus 1404, wherein the processor 1401, the communication interface 1402, and the memory 1403 communicate with each other through the communication bus 1404.
[0141] Memory 1403, used for storing computer programs;
[0142] In one embodiment of the present application, the processor 1401 is used to execute the program stored in the memory 1403 to implement the steps of the test method provided by any of the aforementioned method embodiments, and its role is similar and will not be repeated here.
[0143] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the test method provided in any of the aforementioned method embodiments are implemented.
[0144] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0146] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0147] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A vehicle parking simulation test system, characterized in that: The parking simulation test system includes a scenario simulation software system, a test management system, an autonomous driving domain control system and an Ethernet converter; The scenario simulation software system is used to construct a first simulation model that represents the virtual vehicle operating environment, and to construct a second simulation model that performs parking simulation test data acquisition in the virtual vehicle operating environment based on a sensor model, and to convert the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and to transmit the interface protocol data to the autonomous driving domain control system based on the Ethernet converter; The autonomous driving domain control system is used to generate a control command based on the interface protocol data, and send the control command to the test management system; The test management system is used to perform a parking simulation test on the vehicle based on the control command.
2. The system according to claim 1, characterized in that The scene simulation software system includes a construction module, a first simulation module, a second simulation module and a third simulation module; The construction module is used to construct a first simulation model of the virtual vehicle operating environment, wherein the first simulation model includes a road environment model, a traffic participant model and the second simulation model; the second simulation model includes N surround-view camera simulation models and M ultrasonic radar simulation models in the vehicle sensor model, and the values of N and M are positive integers; The first simulation module is used to obtain first parking information, convert the first parking information into first interface protocol data, and transmit the first interface protocol data to the autonomous driving domain control system based on the Ethernet converter; wherein the first parking information represents parking line and parking space information during parking, and is collected by the N surround-view fisheye camera models in the vehicle operation environment; The second simulation module is used to obtain second parking information, convert the second parking information into second interface protocol data, and transmit the second interface protocol data to the autonomous driving domain control system based on the Ethernet converter, wherein the second parking information represents obstacle information during parking and is collected by the M ultrasonic radar models in the vehicle operating environment; The third simulation module is used to parse the data corresponding to the first simulation model, convert the parsed data into third interface protocol data, and transmit the third interface protocol data to the autonomous driving domain control system based on the Ethernet converter.
3. The system according to claim 2, characterized in that The first simulation module includes a first data parsing module and a first data conversion module; The first data parsing module is used to create a socket for port communication, obtain the byte stream generated by the N surround fisheye camera models based on the socket, and run the bus RDB message based on the data in the byte stream to filter out the first parking information; The first data conversion module is used to convert the coordinate data in the first parking information into data recognized by the autonomous driving domain control system, and store the converted data and the data in the first parking information except the coordinate data into a target format file to obtain the first interface protocol data.
4. The system according to claim 2, characterized in that The first simulation module includes a second data parsing module and a second data conversion module; The second data parsing module is used to create a socket for port communication, obtain the byte stream generated by the M ultrasonic radar simulation models based on the socket, and run the bus RDB message based on the data in the byte stream to filter out the second parking information; The second data conversion module is used to convert the coordinate data in the second parking information into data recognized by the autonomous driving domain control system, and store the converted data and the data in the second parking information except the coordinate data into a target format file to obtain the second interface protocol data.
5. The system according to claim 4, characterized in that The second parking information includes ultrasonic radar point cloud data; The second data analysis module is also used to divide the point cloud data obtained by simulating the M ultrasonic radar simulation models into 360 parts, and filter out the point cloud data closest to the vehicle from each of the 360 parts, and determine the filtered point cloud data as the ultrasonic radar point cloud data, wherein the angle range corresponding to each of the 360 points cloud data is 1°.
6. The system according to claim 2, characterized in that The autonomous driving domain control system includes a first receiving module, a second receiving module, a third receiving module and a control module; The first receiving module is used to receive the first interface protocol data and send the first interface protocol data to the control module; The second receiving module is used to receive the second interface protocol data and send the second interface protocol data to the control module; Claims The third receiving module is used to receive the third interface protocol data and send the third interface protocol data to the control module; The control module is used to generate the control command based on the first interface protocol data, the second interface protocol data and the third interface protocol data, and send the control command to the test management system.
7. The system according to claim 4, characterized in that The test management system includes a dynamics simulation module; The dynamics simulation module is used to generate a longitudinal control strategy and / or a lateral control strategy based on the control command, and perform parking control on the vehicle to be parked among the traffic participants based on the longitudinal control strategy and / or the lateral control strategy.
8. The system according to claim 2, characterized in that The second simulation module is also used to set the working parameters of the M ultrasonic radar models, measure the distance between the vehicle and the target using a time-of-flight detection method, and simulate the emission and reflection of the ultrasonic beam to obtain the ultrasonic radar simulation model.
9. A testing method for a parking simulation test system for a vehicle based on any one of claims 1 to 8, characterized in that: The method comprises: The scenario simulation software system constructs a first simulation model that represents the virtual vehicle operating environment, and constructs a second simulation model that performs parking simulation test data acquisition in the virtual vehicle operating environment based on a sensor model, and converts the simulation data output by the first simulation model and the second simulation model into corresponding interface protocol data, and transmits the interface protocol data to the autonomous driving domain control system based on the Ethernet converter; The autonomous driving domain control system generates a control command based on the interface protocol data, and sends the control command to the test management system; The test management system performs a parking simulation test on the vehicle based on the control command.
10. The method according to claim 9, characterized in that The scene simulation software system includes a construction module, a first simulation module, a second simulation module and a third simulation module; the method also includes: The construction module constructs a first simulation model of the virtual vehicle operating environment, wherein the first simulation model includes a road environment model, a traffic participant model and the second simulation model; the second simulation model includes N surround-view fish camera simulation models and M ultrasonic radar simulation models in the vehicle sensor model; The first simulation module acquires first parking information, converts the first parking information into first interface protocol data, and transmits the first interface protocol data to the autonomous driving domain control system based on the Ethernet converter; wherein the first parking information represents parking line and parking space information during parking, and is collected by the N surround-view fisheye camera models in the vehicle operating environment; The second simulation module acquires second parking information, converts the second parking information into second interface protocol data, and transmits the second interface protocol data to the autonomous driving domain control system based on the Ethernet converter, wherein the second parking information represents obstacle information during parking and is collected by the M ultrasonic radar models in the vehicle operating environment; The third simulation module parses the data corresponding to the first simulation model, converts the parsed data into third interface protocol data, and transmits the third interface protocol data to the autonomous driving domain control system based on the Ethernet converter.
11. A vehicle comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the testing method of claim 9 or 10.
12. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the testing method according to claim 9 or 10.
Citation Information
Cited By
Hardware-in-the-loop test method, device and system for controller
CN119882695A
