This application claims priority to Chinese patent application No. 202110683960.2, filed on Jun. 18, 2021, which is hereby incorporated by reference in its entirety.
The present disclosure relates to the field of computer technologies, and in particular to the field of intelligent vehicles.
In the prior art, most of methods for testing a sensing system of a vehicle are manual testing, that is, moving a sensing target several times in a sensing range and comparing sensing results.
The present disclosure provides a method and apparatus for testing a sensing effect, a device, a storage medium, a computer program product and a system for testing a sensing effect.
According to a first aspect of the present disclosure, there is provided a method for testing a sensing effect, including:
controlling a moving apparatus to move within a preset range of a vehicle in accordance with a preset route, wherein the moving apparatus carries at least one type of sensing target, and a sensing device to be tested is installed on the vehicle;
generating true reference data according to movement data of the moving apparatus and sensing target information of the sensing target;
acquiring sensing result data of the sensing target, generated by the sensing device to be tested; and
testing the sensing effect of the sensing device to be tested according to the true reference data and the sensing result data.
According to a second aspect of the present disclosure, there is provided an electronic device, including:
at least one processor; and
a memory communicatively connected with the at least one processor,
wherein the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, enable the at least one processor to perform the method provided by any embodiment of the present disclosure.
According to a third aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions, when executed by a computer, cause the computer to perform the method provided by any embodiment of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a system for testing a sensing effect, including the apparatus for testing a sensing effect, the moving apparatus, and a vehicle on which the sensing device to be tested is installed, provided by any embodiment of the present disclosure.
It should be understood that the content described in this section is neither intended to limit the key or important features of the embodiments of the present disclosure, nor intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. In the drawings:
Exemplary embodiments of the present disclosure are described below in combination with the drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as exemplary only. Thus, those of ordinary skill in the art should realize that various changes and modifications can be made to the embodiments described here without departing from the scope and spirit of the present disclosure. Likewise, descriptions of well-known functions and structures are omitted in the following description for clarity and conciseness:
An embodiment of the present disclosure provides a moving apparatus, including a carrying mechanism, a moving mechanism and a positioning mechanism.
The carrying mechanism can be configured for carrying at least one type of sensing target, such as a cone, a dummy, a fake vehicle, etc. The sensing target has sensing target information, such as size, shape, etc. By measuring the length, width and height of the sensing target, the sensing target information of the sensing target can be obtained.
The moving mechanism can be configured for driving the moving apparatus to move within a preset range of a vehicle in accordance with a preset route. Illustratively, the carrying mechanism may be configured as a platform, and the moving mechanism may include wheels and motors disposed below the platform. In an example, the moving apparatus may include a controller, configured for communicating with an external device, further controlling the motor to drive the wheels according to a control signal of the external device, and further driving the moving apparatus to move within the preset range of the vehicle in accordance with the preset route.
The positioning mechanism can collect in real time or calculate movement data of the moving apparatus, such as a position, an orientation, a speed and an acceleration, etc.
An embodiment of the present disclosure also provides a method for testing a sensing effect, as shown in
S101, controlling a moving apparatus to move within a preset range of a vehicle in accordance with a preset route, wherein the moving apparatus carries at least one type of sensing target, and a sensing device to be tested is installed on the vehicle;
S102, generating true reference data according to movement data of the moving apparatus and sensing target information of the sensing target;
S103, acquiring sensing result data of the sensing target, generated by the sensing device to be tested; and
S104, testing the sensing effect of the sensing device to be tested according to the true reference data and the sensing result data.
The technical solution of the embodiment of the present disclosure can quickly verify the sensing effect of a vehicle installed with a sensing device, and identify quality problems.
The sensing device includes, but is not limited to, a camera, a radar, an ultrasonic transceiver and other sensor for sensing a target. Illustratively, the vehicle includes, but is not limited to, autonomous vehicles and intelligent teaching vehicles.
The preset range can be set according to the type and sensing range of the sensing device to be tested, and the preset route can be set according to the preset range. For example, the moving area in which the moving apparatus moves in accordance with the preset route can cover the preset range. The type and number of sensing targets carried on the moving apparatus can be set according to a test environment, and will not be limited in this embodiment.
The moving apparatus moves in the preset range of the vehicle in accordance with the preset route. By acquiring moving data of the moving apparatus, true reference data for testing the sensing effect can be obtained. By comparing the true reference data with the sensing result data of the sensing target generated by the sensing device to be tested, the test result of the sensing effect can be obtained.
In one implementation, the true reference data includes a true position, a true orientation, a true speed, a true acceleration, a true size and a true shape of the sensing target. The sensing result data includes a sensing position, a sensing orientation, a sensing speed, a sensing acceleration, a sensing size and a sensing shape of the sensing target, generated by the sensing device to be tested.
By comparing the true position with the sensing position, comparing the true orientation with the sensing orientation, comparing the true speed with the sensing speed, comparing the true acceleration with the sensing acceleration, comparing the true size with the sensing size, and comparing the true shape with the sensing shape, respectively, the sensing effect of the sensing device to be tested can be accurately tested from a plurality of dimensions.
In one implementation, the S102 may include: acquiring the true position, the true orientation, the true speed and the true acceleration of the sensing target based on a positioning mechanism on the moving apparatus.
Illustratively, based on the positioning mechanism, the true position and the true orientation of the sensing target can be acquired in real time, and then the true speed and the true acceleration can be calculated. The true size and the true shape of the sensing target can be obtained by measuring the sensing target. Thus, all true reference information of the sensing target can be obtained conveniently and quickly in real time.
In one implementation, the true reference data are a plurality of true reference information including time identifications, the sensing result data are a plurality of sensing information including time identifications, and the S104 may include: comparing the true reference information and the sensing information with a same time identification.
That is, the true reference data and the sensing result data can be continuous data distributed at a preset time interval. Illustratively, both the true reference data and the sensing result data can be output at a frequency of 100 Hz or higher, so as to obtain a plurality of continuous true reference information including time identifications and a plurality of continuous sensing information including time identifications, respectively. By continuously comparing the true reference information and the sensing information output at each node (time identification), it is possible to obtain the test result at each node, such as pass or fail, that is, a plurality of continuous test results including time identifications. By summarizing the sensing results at all nodes in accordance with a preset test standard, the test result of the sensing effect of the sensing device to be tested can be obtained.
In one implementation, the S102 may include: collecting the movement data at a preset time interval; and generating the plurality of true reference information comprising the time identifications based on the collected movement data and the sensing target information.
For example, based on the positioning mechanism, the moving apparatus can output the movement data such as the true position, the true orientation, the true speed and the true acceleration at the frequency of 100 Hz or higher. Furthermore, in combination with the sensing target information, such as the true size and the true shape, a plurality of continuous true reference information including time identifications, that is, the true position, the true orientation, the true speed, the true acceleration, the true size and the true shape, can be quickly obtained in real time.
For each node (time identification), by comparing the true position with the sensing position, comparing the true orientation with the sensing orientation, comparing the true speed with the sensing speed, comparing the true acceleration with the sensing acceleration, comparing the true size with the sensing size, and comparing the true shape with the sensing shape, respectively, a plurality of continuous test results including time identifications can be obtained.
According to the method for testing a sensing effect of the embodiment of the present disclosure, by controlling the moving mechanism to move within the preset range of the vehicle in accordance with the preset route, the true reference data can be obtained; and then by comparing the true reference data with the sensing result data generated by the sensing device on the vehicle, the sensing effect of the vehicle installed with the intelligent sensing device can be quickly verified, and quality problems can be quickly identified. Meanwhile, it can also be used as a test tool in daily technology research and development.
a movement control module 301, configured for controlling a moving apparatus to move within a preset range of a vehicle in accordance with a preset route, wherein the moving apparatus carries at least one type of sensing target, and a sensing device to be tested is installed on the vehicle;
a true reference data generation module 302, configured for generating true reference data according to movement data of the moving apparatus and sensing target information of the sensing target;
a sensing result data acquisition module 303, configured for acquiring sensing result data of the sensing target, generated by the sensing device to be tested; and
a testing module 304, configured for testing the sensing effect of the sensing device to be tested according to the true reference data and the sensing result data.
In one implementation, the true reference data includes a true position, a true orientation, a true speed, a true acceleration, a true size and a true shape of the sensing target, and the sensing result data includes a sensing position, a sensing orientation, a sensing speed, a sensing acceleration, a sensing size and a sensing shape of the sensing target, generated by the sensing device to be tested.
In one implementation, the true reference data generation module is further configured for acquiring the true position, the true orientation, the true speed and the true acceleration of the sensing target based on a positioning mechanism on the moving apparatus.
In one implementation, the true reference data are a plurality of true reference information including time identifications, and the sensing result data are a plurality of sensing information including time identifications. The test module 304 is further configured for comparing the true reference information and the sensing information with a same time identification.
In one implementation, as shown in
a collection unit 401, configured for collecting the movement data at a preset time interval; and
a true reference information generation unit 402, configured for generating the plurality of true reference information including the time identifications based on the collected movement data and the sensing target information.
The functions of the respective modules in the respective apparatuses of the embodiments of the present disclosure may refer to the corresponding descriptions in the above methods, and will not be described in detail herein.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
As shown in
A plurality of components in the electronic device 500 are connected to the I/O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices over a computer network, such as the Internet, and/or various telecommunications networks.
The computing unit 501 may be various general purpose and/or special purpose processing assemblies having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs various methods and processes described above. For example, in some embodiments, the method for testing a sensing effect may be implemented as computer software programs that are physically contained in a machine-readable medium, such as the storage unit 508. In some embodiments, some or all of the computer programs may be loaded into and/or installed on the electronic device 500 via the ROM 502 and/or the communication unit 509. In a case where the computer programs are loaded into the RAM 503 and executed by the computing unit 501, one or more of steps of the above method for testing a sensing effect may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the method for testing a sensing effect in any other suitable manner (e.g., by means of a firmware).
Various embodiments of the systems and techniques described herein above may be implemented in a digital electronic circuit system, an integrated circuit system, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), a computer hardware, a firmware, a software, and/or a combination thereof. These various implementations may include an implementation in one or more computer programs, which can be executed and/or interpreted on a programmable system including at least one programmable processor; the programmable processor may be a dedicated or general-purpose programmable processor and capable of receiving and transmitting data and instructions from and to a storage system, at least one input device, and at least one output device.
The program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus such that the program codes, when executed by the processor or controller, enable the functions/operations specified in the flowchart and/or the block diagram to be performed. The program codes may be executed entirely on a machine, partly on a machine, partly on a machine as a stand-alone software package and partly on a remote machine, or entirely on a remote machine or server.
In the context of the present disclosure, the machine-readable medium may be a tangible medium that may contain or store programs for using by or in connection with an instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination thereof. More specific examples of the machine-readable storage medium may include one or more wire-based electrical connection, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
In order to provide an interaction with a user, the system and technology described here may be implemented on a computer having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide an input to the computer. Other kinds of devices can also provide an interaction with the user. For example, a feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and an input from the user may be received in any form, including an acoustic input, a voice input or a tactile input.
The systems and techniques described herein may be implemented in a computing system (e.g., as a data server) that may include a background component, or a computing system (e.g., an application server) that may include a middleware component, or a computing system (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein) that may include a front-end component, or a computing system that may include any combination of such background components, middleware components, or front-end components. The components of the system may be connected to each other through a digital data communication in any form or medium (e.g., a communication network). Examples of the communication network may include a local area network (LAN), a wide area network (WAN), and the Internet.
The computer system may include a client and a server. The client and the server are typically remote from each other and typically interact via the communication network. The relationship of the client and the server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, and may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that the steps can be reordered, added or deleted using the various flows illustrated above. For example, the steps described in the present disclosure may be performed concurrently, sequentially or in a different order, so long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and there is no limitation herein.
The above-described specific embodiments do not limit the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202110683960.2 | Jun 2021 | CN | national |