Integrated navigation visual simulation method based on Qt and OpenCV
Through the combined navigation visual simulation method based on Qt and OpenCV, the simulation and visual linkage control are used for road acquisition data, and the signal availability problem of combined navigation under complex terrain conditions is solved, performance optimization efficiency and analysis efficiency are improved, and practical Reliance on real-time data of the car.
Patent Information
- Application Number
- CN202411264239.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-22
AI Technical Summary
Existing combined navigation has poor signal availability and is susceptible to interference under complex terrain conditions, and performance optimization relies on real-time data, resulting in increased repetitive work of developers and testers, low efficiency, and difficult to meet the needs of on-board navigation and intelligent driving.
Using a combined navigation visual simulation method based on Qt and OpenCV, simulation is obtained through the road acquisition data, simulation is carried out based on the simulation data and reference road acquisition data, and the first map and the second map implementation framework obtain the trajectory generation and zoom the trajectory map to realize Visual linkage control reduces dependence on real-time data in real cars and optimizes performance optimization cycles.
Efficient and visual combined navigation performance optimization is achieved, reducing repetitive work for developers and testers, shortening performance optimization cycles, and improving analysis efficiency.
Smart Images

Figure CN119001805A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite navigation technology, and in particular to a combined navigation visualization simulation method based on Qt and OpenCV. Background Art
[0002] With the development of navigation technology, satellite navigation technology is being used more and more. Satellite navigation has the characteristics of high accuracy, all-weather operation, wide coverage area, and near real-time output of navigation data. However, in complex terrain conditions (such as urban buildings, mountainous areas, forests, indoor and underground buildings), it also has weaknesses such as poor signal availability and susceptibility to malicious or unintentional interference, making it difficult to meet the stringent requirements of in-vehicle navigation and intelligent driving.
[0003] At present, the above-mentioned demand is mainly met through combined navigation, that is, combining a variety of different navigation means together, with various means complementing each other in performance and making up for each other's shortcomings. Through the performance optimization of combined navigation, higher navigation performance is obtained than when any navigation system is used alone.
[0004] However, the current integrated navigation system overly relies on real-time data from real vehicles when optimizing performance, which results in repetitive work for developers and testers, seriously aggravating the cycle of integrated navigation performance optimization. In addition, the efficiency of data analysis is low, and the analysis effect is also average. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a combined navigation visualization simulation method based on Qt and OpenCV, which obtains simulation data through road acquisition data, performs simulation based on the simulation data and simulation parameters determined by the road acquisition data to obtain simulation results, and based on the simulation results and reference road acquisition data, uses a first map implementation framework and a second map implementation framework to obtain trajectory generation maps and zoom trajectory maps, and finally performs visualization linkage control. It only needs to collect data from the actual vehicle once, avoiding excessive reliance on real-time data of the actual vehicle, reducing repetitive work of developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, through visualization linkage control, efficient and visualized analysis is achieved.
[0006] In a first aspect, an embodiment of the present application provides a combined navigation visualization simulation method based on Qt and OpenCV, the method comprising:
[0007] Collecting basic data of a real vehicle, acquiring road sampling data based on the basic data, and acquiring simulation data based on the road sampling data; wherein the basic data includes IMU data, GNSS data, CAN data and benchmark data; the road sampling data includes original road sampling data and reference road sampling data;
[0008] Performing simulation based on the simulation data and the simulation parameters determined by the road sampling data to obtain corresponding simulation results; wherein the simulation results represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle;
[0009] Based on the simulation results and the reference road data, a preset first map implementation framework and a second map implementation framework are used to obtain a trajectory generation map and a zoom trajectory map, and visual linkage control is performed based on the trajectory generation map and the zoom trajectory map; wherein the second map implementation framework is composed of a Qt framework and an OpenCV framework.
[0010] In a possible implementation manner, acquiring the road sampling data based on the basic data, and acquiring the simulation data based on the road sampling data, includes:
[0011] Acquire the original road sampling data based on the IMU data, the GNSS data, and the CAN data, determine a reference value of a preset accuracy in the reference data, and process the reference data based on the reference value to obtain corresponding reference road sampling data;
[0012] Parsing the original road sampling data and the reference road sampling data based on a preset format to obtain corresponding parsing results; wherein the parsing results include the original road sampling parsing results corresponding to the original road sampling data and the reference road sampling parsing results corresponding to the reference road sampling data;
[0013] The analysis results are stored based on a preset bidirectional linked list to obtain a target bidirectional linked list, and the simulation data is obtained based on the matching of each frame of linked list data of the original road sampling analysis results or the reference road sampling analysis results in the target bidirectional linked list; wherein the target bidirectional linked list includes multiple frames of linked list data.
[0014] In a possible implementation, the method of using a preset first map implementation framework and a second map implementation framework to obtain a trajectory generation map and a zoomed trajectory map includes:
[0015] Acquire corresponding target latitude and longitude data based on the simulation result and the reference road sampling data;
[0016] Based on the target latitude and longitude data and the simulation result, a preset first map implementation framework is used to obtain a first trajectory generation map of a first target frequency, and a preset second map implementation framework is used to obtain a first zoom trajectory map of a second target frequency;
[0017] Based on the target latitude, longitude and height data and the reference road sampling data, the first map implementation framework and the second map implementation framework are used to obtain a second trajectory generation map and a second zoom trajectory map.
[0018] In a possible implementation, the generating a map based on the trajectory and performing visual linkage control on the zoomed trajectory map includes:
[0019] Calculating corresponding linkage data based on the simulation result and the reference value; wherein the linkage data includes difference data, posture data and axis data;
[0020] Based on the linkage data, the corresponding multiple waveform graphs are drawn into the corresponding nested target windows through the Qt framework, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window; wherein one target window corresponds to one waveform graph.
[0021] In a possible implementation, the method further includes:
[0022] Obtaining a road section timestamp and a corresponding road section scoring index configuration, and calculating a corresponding scoring result based on the road section timestamp, the road section scoring index configuration, and the difference data;
[0023] Outputting the scoring result to a simulation self-optimization strategy determined by the simulation parameters, optimizing the simulation parameters according to the scoring result in response to a selection operation for the simulation self-optimization strategy, and determining a new simulation liberalization strategy based on the optimized simulation parameters;
[0024] The simulation is continued based on the simulation data and the optimized simulation parameters to obtain new simulation results.
[0025] In a possible implementation, the method further includes:
[0026] Acquire the section configuration and index information, calculate the corresponding section difference information based on the section configuration and index information, and filter out the corresponding target section time based on the section difference information;
[0027] The corresponding section result is calculated based on the target section time, and the section result is output to a preset color control report.
[0028] In a possible implementation, the method further includes:
[0029] In response to a first operation on any one of the trajectory generation map and the zoomed trajectory map, synchronizing the first operation to the other map;
[0030] In response to a second operation on any one of the plurality of target windows, the second operation is synchronized to other target windows.
[0031] In a second aspect, an embodiment of the present application further provides a combined navigation visualization simulation device based on Qt and OpenCV, the device comprising:
[0032] A first acquisition module is used to collect basic data of a real vehicle, obtain road sampling data based on the basic data, and obtain simulation data based on the road sampling data; wherein the basic data includes IMU data, GNSS data, CAN data and benchmark data; the road sampling data includes original road sampling data and reference road sampling data;
[0033] A simulation module, used to perform simulation based on the simulation data and simulation parameters determined by the road sampling data to obtain corresponding simulation results; wherein the simulation results represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle;
[0034] The second acquisition module is used to acquire a trajectory generation map and a zoom trajectory map based on the simulation results and the reference road acquisition data by using a preset first map implementation framework and a second map implementation framework, and perform visual linkage control based on the trajectory generation map and the zoom trajectory map; wherein the second map implementation framework is composed of a Qt framework and an OpenCV framework.
[0035] In a possible implementation manner, the first acquisition module is specifically configured to:
[0036] Acquire the original road sampling data based on the IMU data, the GNSS data, and the CAN data, determine a reference value of a preset accuracy in the reference data, and process the reference data based on the reference value to obtain corresponding reference road sampling data;
[0037] Parsing the original road sampling data and the reference road sampling data based on a preset format to obtain corresponding parsing results; wherein the parsing results include the original road sampling parsing results corresponding to the original road sampling data and the reference road sampling parsing results corresponding to the reference road sampling data;
[0038] The analysis results are stored based on a preset bidirectional linked list to obtain a target bidirectional linked list, and the simulation data is obtained based on the matching of each frame of linked list data of the original road sampling analysis results or the reference road sampling analysis results in the target bidirectional linked list; wherein the target bidirectional linked list includes multiple frames of linked list data.
[0039] In a possible implementation manner, the second acquisition module is specifically configured to:
[0040] Acquire corresponding target latitude and longitude data based on the simulation result and the reference road sampling data;
[0041] Based on the target latitude and longitude data and the simulation result, a preset first map implementation framework is used to obtain a first trajectory generation map of a first target frequency, and a preset second map implementation framework is used to obtain a first zoom trajectory map of a second target frequency;
[0042] Based on the target latitude, longitude and height data and the reference road sampling data, the first map implementation framework and the second map implementation framework are used to obtain a second trajectory generation map and a second zoom trajectory map.
[0043] In a possible implementation manner, the second acquisition module is specifically configured to:
[0044] Calculating corresponding linkage data based on the simulation result and the reference value; wherein the linkage data includes difference data, posture data and axis data;
[0045] Based on the linkage data, the corresponding multiple waveform graphs are drawn into the corresponding nested target windows through the Qt framework, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window; wherein one target window corresponds to one waveform graph.
[0046] In a possible implementation manner, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0047] A calculation module, used to obtain a road section timestamp and a corresponding road section scoring index configuration, and calculate a corresponding scoring result based on the road section timestamp, the road section scoring index configuration, and the difference data;
[0048] a determination module, configured to output the scoring result to a simulation self-optimization strategy determined by the simulation parameters, optimize the simulation parameters according to the scoring result in response to a selection operation for the simulation self-optimization strategy, and determine a new simulation liberalization strategy based on the optimized simulation parameters;
[0049] The third acquisition module is used to continue simulation based on the simulation data and the optimized simulation parameters to obtain new simulation results.
[0050] In a possible implementation manner, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0051] A screening module, used to obtain the section configuration and index information, calculate the corresponding section difference information based on the section configuration and index information, and screen the corresponding target section time based on the section difference information;
[0052] The output module is used to calculate the corresponding section result based on the target section time, and output the section result to a preset color control report.
[0053] In a possible implementation manner, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0054] A first synchronization module, configured to synchronize a first operation on any one of the trajectory generation map and the zoom trajectory map to the other map in response to the first operation on the first map;
[0055] The second synchronization module is configured to synchronize, in response to a second operation on any one of the plurality of target windows, the second operation to other target windows.
[0056] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the combined navigation visualization simulation method based on Qt and OpenCV as described in any one of the first aspects.
[0057] In a fourth aspect, an embodiment of the present application 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 combined navigation visualization simulation method based on Qt and OpenCV described in any one of the first aspects are executed.
[0058] The embodiment of the present application provides a combined navigation visualization simulation method based on Qt and OpenCV, which collects basic data of a real vehicle, obtains road data based on the basic data, obtains simulation data based on the road data, performs simulation based on the simulation data and the simulation parameters determined by the road data, obtains corresponding simulation results, obtains trajectory generation maps and zoom trajectory maps based on the simulation results and reference road data, and performs visualization linkage control based on the trajectory generation map and the zoom trajectory map. The present application obtains simulation data through road data, performs simulation based on the simulation data and the simulation parameters determined by the road data, and obtains simulation results based on the simulation results and reference road data, and obtains trajectory generation maps and zoom trajectory maps based on the first map implementation framework and the second map implementation framework, and finally performs visualization linkage control, which only requires collecting data of the real vehicle once, avoiding excessive reliance on real-time data of the real vehicle, reducing the repetitive work of developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, through visualization linkage control, efficient and visualized analysis is achieved.
[0059] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0061] Figure 1 It is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to an embodiment of the present application;
[0062] Figure 2 It is a schematic diagram of the combined navigation visualization simulation;
[0063] Figure 3 It is a schematic diagram of the trajectory generation map;
[0064] Figure 4 It is a schematic diagram of the zoomed trajectory map;
[0065] Figure 5 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to another embodiment of the present application;
[0066] Figure 6 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to another embodiment of the present application;
[0067] Figure 7 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to another embodiment of the present application;
[0068] Figure 8 It is a schematic diagram of 25 windows;
[0069] Fig. 9 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to another embodiment of the present application;
[0070] Fig.10 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to another embodiment of the present application;
[0071] Fig.11 It is a schematic diagram of the road section configuration and indicator information;
[0072] Fig.12 It is a flowchart of outputting color control report;
[0073] Fig.13 It is a schematic diagram of the color control report;
[0074] Fig.14 It is a schematic diagram of the color control state transition diagram;
[0075] Fig.15 This is a macroscopic diagram of the real-life 1hz map of Shenzhen Dongbin Tunnel;
[0076] Fig.16 This is a microscopic diagram of the real-life 1hz map of Shenzhen Dongbin Tunnel;
[0077] Fig.17 This is a macroscopic diagram of the self-developed 100hz map of Shenzhen Dongbin Tunnel;
[0078] Fig.18 This is a microscopic diagram of the self-developed 100hz map of Shenzhen Dongbin Tunnel;
[0079] Fig.19 It is a structural schematic diagram of a combined navigation visualization simulation device based on Qt and OpenCV provided according to an embodiment of the present application;
[0080] Fig. 20 It is a structural schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0081] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0082] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0083] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0084] Taking into account that with the development of navigation technology, satellite navigation technology is being used more and more, satellite navigation has the characteristics of high accuracy, all-weather operation, wide coverage area, and near real-time output of navigation data. However, in complex terrain conditions (such as urban buildings, mountainous areas, forests, indoor and underground buildings), it also has weaknesses such as poor signal availability and susceptibility to malicious or unintentional interference, making it difficult to meet the stringent requirements of in-vehicle navigation and intelligent driving.
[0085] At present, the above requirements are mainly met through combined navigation, that is, combining a variety of different navigation methods together, the performance of various methods complement each other, and through the performance optimization of combined navigation, higher navigation performance is obtained than when any navigation system is used alone. However, the current combined navigation is overly dependent on real-time data of real vehicles when optimizing performance, which causes repetitive work for developers and testers, seriously aggravating the cycle of combined navigation performance optimization. In addition, the efficiency of data analysis is low, and the analysis effect is also average.
[0086] To address this problem, the present application provides a combined navigation visualization simulation method based on Qt and OpenCV, which obtains simulation data through road acquisition data, performs simulation based on the simulation data and simulation parameters determined by the road acquisition data to obtain simulation results, and based on the simulation results and reference road acquisition data, uses a first map implementation framework and a second map implementation framework to obtain a trajectory generation map and a zoom trajectory map, and finally performs visualization linkage control. It only needs to collect data from the actual vehicle once, thus avoiding excessive reliance on real-time data of the actual vehicle, reducing repetitive work for developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, through visualization linkage control, efficient and visualized analysis is achieved.
[0087] Figure 1 1 is a flowchart of a combined navigation visualization simulation method based on Qt and OpenCV provided according to an embodiment of the present application. Figure 1As shown, the combined navigation visualization simulation method based on Qt and OpenCV in the embodiment of the present application may specifically include:
[0088] S101, collecting basic data of a real vehicle, obtaining road data based on the basic data, and obtaining simulation data based on the road data.
[0089] S102, performing simulation based on the simulation data and simulation parameters determined by the road sampling data to obtain corresponding simulation results.
[0090] S103, based on the simulation results and the reference road sampling data, a preset first map implementation framework and a second map implementation framework are used to obtain a trajectory generation map and a scaling trajectory map, and visual linkage control is performed based on the trajectory generation map and the scaling trajectory map.
[0091] In the above-mentioned combined navigation visualization simulation method based on Qt and OpenCV, simulation data is obtained through road acquisition data, simulation is performed based on the simulation data and simulation parameters determined by the road acquisition data to obtain simulation results, and based on the simulation results and reference road acquisition data, the first map implementation framework and the second map implementation framework are used to obtain trajectory generation maps and zoom trajectory maps, and finally visual linkage control is performed. It only needs to collect data from the actual vehicle once, avoiding excessive reliance on real-time data of the actual vehicle, reducing repetitive work of developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, efficient and visual analysis is achieved through visual linkage control.
[0092] The above exemplary steps of the embodiment of the present application are described below with reference to specific examples:
[0093] S101, collecting basic data of a real vehicle, obtaining road data based on the basic data, and obtaining simulation data based on the road data.
[0094] In the embodiment of the present application, the basic data includes IMU (Inertial Measurement Unit) data, GNSS (Global Navigation Satellite System) data, CAN (Controller Area Network) data and reference data, the road data includes original road data and reference road data, the simulation data includes IMU inertial navigation position, IMU inertial navigation attitude, GNSS antenna position, vehicle body parameters and simulation parameters, the basic data of the real vehicle is collected, the road data is obtained based on the basic data, and the simulation data is obtained based on the road data for subsequent processing. For example, Figure 2As shown, the algorithm parameters represent the simulation parameters of the present application, the ODO data (mileage data) and other vehicle body signals represent the CAN data of the present application, raws.bin represents the original road sampling data of the present application, and ref.bin represents the reference road sampling data of the present application. The IMU data, GNSS data, CAN data and benchmark data of the actual vehicle are collected, and the original road sampling data raws.bin is obtained based on the IMU data, GNSS data and CAN data, and the reference road sampling data ref.bin is obtained based on the benchmark data.
[0095] The simulation data may be obtained from original road sampling data or reference road sampling data; and the simulation parameters in the simulation data are initial simulation parameters.
[0096] It should be noted that before obtaining road data based on basic data, it is necessary to perform timestamp correction on IMU data, GNSS data, CAN data and benchmark data based on the GNSS time in the GNSS data to ensure the uniformity of the data collection time, that is, to ensure that each frame of data is collected at the same time, thereby ensuring the accuracy of data simulation.
[0097] It should also be noted that the IMU data, GNSS data, and CAN data are obtained through their respective receiving tasks. Specifically, the corresponding IMU data, GNSS data, and CAN data of the actual vehicle are collected based on the preset IMU task, GNSS receiving task, and CAN receiving task. At the same time, the IMU task is used as the main task to save the data when obtaining the original road data. For example, Figure 2 shown.
[0098] S102, performing simulation based on the simulation data and simulation parameters determined by the road sampling data to obtain corresponding simulation results.
[0099] In the embodiment of the present application, simulation is performed based on the simulation data obtained in step S101 and the simulation parameters determined by the road sampling data to obtain corresponding simulation results, which represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle for subsequent processing. Figure 2 As shown, the IMU inertial navigation position, IMU inertial navigation attitude, GNSS antenna position, vehicle body parameters and algorithm parameters are simulated to obtain the corresponding simulation results.
[0100] S103, based on the simulation results and the reference road sampling data, a preset first map implementation framework and a second map implementation framework are used to obtain a trajectory generation map and a scaling trajectory map, and visual linkage control is performed based on the trajectory generation map and the scaling trajectory map.
[0101] In the embodiment of the present application, the first map implementation framework is composed of an application programming interface (API) and a programming language (JavaScript in the present application), and the second map implementation framework is composed of a Qt framework and an OpenCV framework. Based on the simulation results of step S102 and the reference road acquisition data obtained in step S101, the first map implementation framework and the second map implementation framework are used to obtain a trajectory generation map and a zoom trajectory map. Specifically, the first map implementation framework is used to obtain a trajectory generation map, and the second map implementation framework is used to obtain a zoom trajectory map. Visual linkage control is performed based on the trajectory generation map and the zoom trajectory map to achieve visual simulation of combined navigation data. Among them, the API in the first map implementation framework is an API provided by a well-known map manufacturer; the trajectory generation map is a trajectory generation map implemented according to the API provided by a well-known map manufacturer, and the zoom trajectory map is a zoom trajectory map developed by the present application according to Qt+OpenCV.
[0102] It should be noted that the trajectory generates a map to facilitate viewing of the actual trajectory contour and actual road section, e.g. Figure 3 As shown; zooming in on the trajectory map facilitates analysis of detail points, for example, Figure 4 As shown; the trajectory generation map and the zoom trajectory map can achieve complementary functions.
[0103] The combined navigation visualization simulation method based on Qt and OpenCV provided in the embodiment of the present application collects basic data of a real vehicle, obtains road data based on the basic data, obtains simulation data based on the road data, performs simulation based on the simulation data and the simulation parameters determined by the road data, obtains corresponding simulation results, and obtains trajectory generation maps and zoom trajectory maps based on the simulation results and reference road data using a preset first map implementation framework and a second map implementation framework, and performs visualization linkage control based on the trajectory generation map and the zoom trajectory map. The combined navigation visualization simulation method based on Qt and OpenCV of the present application obtains simulation data through road data, obtains simulation data based on the simulation data and the simulation parameters determined by the road data, and obtains simulation results based on the simulation results and reference road data using a first map implementation framework and a second map implementation framework, and finally performs visualization linkage control, and only needs to collect data of the real vehicle once, avoiding excessive reliance on real-time data of the real vehicle, reducing the repetitive work of developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, through visualization linkage control, efficient and visualized analysis is achieved.
[0104] Further, such as Figure 5As shown, the step S101 in the above embodiment of “obtaining road sampling data based on the basic data, and obtaining simulation data based on the road sampling data” may specifically include the following steps:
[0105] S501, acquiring original road sampling data based on IMU data, GNSS data, and CAN data, determining a reference value of a preset accuracy in the reference data, and processing the reference data based on the reference value to obtain corresponding reference road sampling data.
[0106] In the embodiment of the present application, the reference value is determined according to the reference data, the original road sampling data is obtained based on the IMU data, GNSS data, and CAN data in the above embodiment, the corresponding reference value of the preset accuracy is determined in the reference data in the above embodiment, and the reference value post-processing is performed on the reference data based on the reference value to obtain the corresponding reference road sampling data, thereby obtaining the road sampling data. It should be noted that the reference value of the preset accuracy is an ultra-high accuracy reference value, for example, 100C accuracy, and the present application is described as an example, but it does not constitute a limitation thereto, and high-precision settings can be made according to actual conditions.
[0107] S502, parse the original road sampling data and the reference road sampling data based on a preset format to obtain corresponding parsing results.
[0108] In an embodiment of the present application, the format is a pre-set parsing format, for example, a specific format for parsing the original road sampling data raws.bin and the reference road sampling data ref.bin, and the parsing results include the original road sampling parsing results corresponding to the original road sampling data and the reference road sampling parsing results corresponding to the reference road sampling data. The original road sampling data and the reference road sampling data are parsed based on the preset format to obtain corresponding parsing results for subsequent processing.
[0109] S503, obtaining a target bidirectional linked list based on the preset bidirectional linked list storage analysis results, and obtaining simulation data based on the original road sampling analysis results or the reference road sampling analysis results in the target bidirectional linked list by matching the linked list data of each frame.
[0110] In the embodiment of the present application, the target bidirectional linked list includes multiple frames of linked list data, and the target bidirectional linked list is obtained based on the analysis result obtained in the bidirectional linked list storage step S502, and the simulation data is obtained by matching the linked list data of each frame of the original road sampling analysis result or the reference road sampling analysis result in the target bidirectional linked list. Specifically, the simulation data can be obtained by any one of the two analysis results of the original road sampling analysis result and the reference road sampling analysis result, and when the simulation data is obtained by matching, the timestamp, the real vehicle IMU inertial navigation position, the IMU inertial navigation attitude, the GNSS antenna position, and the vehicle body parameters are obtained by matching each frame of the linked list data.
[0111] It can be added that, when the simulation is performed based on the simulation data and the simulation parameters determined by the road acquisition data to obtain the corresponding simulation results, the timestamp, IMU inertial navigation position, IMU inertial navigation attitude, and GNSS antenna position that match each frame of linked list data in the target bidirectional linked list are determined, and the simulation is performed based on the timestamp, IMU inertial navigation position, IMU inertial navigation attitude, and GNSS antenna position that match each frame of linked list data in the target bidirectional linked list.
[0112] It should be noted that the simulation results of this application are also stored in a bidirectional linked list.
[0113] Further, such as Figure 6 As shown, in step S102 of the above embodiment, "using the preset first map implementation framework and the second map implementation framework to obtain the trajectory generation map and the zoom trajectory map" may further include the following steps:
[0114] S601, obtaining corresponding target latitude and longitude data based on simulation results and reference road sampling data.
[0115] In an embodiment of the present application, the target latitude and longitude data include the latitude and longitude data of each navigation system in the corresponding combined navigation system (i.e., GNSS / INS / REF), referred to as GNSS / INS / REF latitude and longitude in this application. The combined navigation system represents the combined navigation of the global navigation satellite system GNSS, the inertial navigation system INS and the reference system REF. According to the simulation results and reference road sampling data in the above embodiment, the corresponding target longitude and latitude data are obtained for subsequent processing.
[0116] S602, based on the target latitude, longitude and height data and the simulation results, a preset first map implementation framework is used to obtain a first trajectory generation map of a first target frequency, and a preset second map implementation framework is used to obtain a first zoom trajectory map of a second target frequency.
[0117] In the embodiment of the present application, the first trajectory generation map represents the trajectory map of GNSS and INS, for example, Figure 2 The GNSS / INS trajectory map shown; the first zoom trajectory map represents the zoom trajectory map of the Qt framework and the OpenCV framework, i.e., Qt+OpenCV, for example, Figure 2The Qt+OpenCV self-developed zoom trajectory map shown in the figure; based on the target latitude and longitude data and simulation results, the preset first map implementation framework is used to obtain the first trajectory generation map of the first target frequency, and the preset second map implementation framework is used to obtain the first zoom trajectory map of the second target frequency for subsequent processing. For example, based on the simulation results and GNSS / INS / REF latitude and longitude, the first trajectory generation map of the first target frequency of 1hz is obtained according to the first map implementation framework API+JavaScript, as shown above Figure 3 As shown; according to the second map implementation framework Qt+OpenCV, the first zoom trajectory map with a second target frequency of 100hz is obtained, that is, the Qt+OpenCV self-developed zoom trajectory map, as shown above Figure 4 shown.
[0118] S603, based on the target latitude, longitude and altitude data and the reference road sampling data, using the first map implementation framework and the second map implementation framework to obtain a second trajectory generation map and a second zoom trajectory map.
[0119] In the embodiment of the present application, based on the target latitude and longitude data obtained in step S601 and the reference road data in the above embodiment, the first map implementation framework and the second map implementation framework are used to obtain the second trajectory generation map and the second zoom trajectory map. Specifically, the first map implementation framework is used to obtain the second trajectory generation map, and the second map implementation framework is used to obtain the second zoom trajectory map for subsequent processing. For example, Figure 2 As shown, according to ref.bin and GNSS / INS / REF latitude and longitude, the second trajectory generation map, namely the REF trajectory map, is obtained according to the first map implementation framework API+JavaScript, and the second zoom trajectory map, namely the Qt+OpenCV self-developed zoom trajectory map, is obtained according to the second map implementation framework Qt+OpenCV.
[0120] It should be noted that the second trajectory generation map represents the trajectory map of the reference system REF, and the second zoom trajectory map represents the zoom trajectory maps of the Qt framework and the OpenCV framework.
[0121] Further, such as Figure 7 As shown, step S103 in the above embodiment, “generating a map based on the trajectory and performing visual linkage control on the scaled trajectory map”, may specifically include the following steps:
[0122] S701, calculating corresponding linkage data based on simulation results and reference values.
[0123] In the embodiment of the present application, the linkage data includes difference data, posture data and axis data, for example, Figure 2As shown, the difference data includes position difference (lateral, longitudinal, horizontal), attitude difference (heading, roll, pitch), speed difference, the attitude data includes GNSS heading, INS attitude and / or solution state, REF attitude, the axis data includes IMU axis data and / or REF axis data, and this application takes 6-axis data as an example, then the 6-axis data includes IMU 6-axis data and / or REF 6-axis data, and the corresponding linkage data is calculated based on the simulation results in the above embodiment and the reference value for subsequent processing.
[0124] It should be noted that before calculating the corresponding linkage data, it is necessary to align the timestamps of the simulation results with the reference values. Specifically, the timestamps of the simulation results with the reference values are also aligned according to the GNSS time.
[0125] It should be noted that the difference data and axis data are obtained by the following steps: calculating the difference between the simulation result and the reference road sampling data, and obtaining the corresponding difference data based on the difference; obtaining the corresponding Qt visual zoom chart based on the difference data, and obtaining the corresponding axis data based on the Qt visual zoom chart. Figure 2 As shown, the difference between the simulation result bicv.list and the reference road sampling data ref.bin is calculated to obtain the difference data bicv-ref. Based on the difference data, the corresponding Qt visualization zoom chart can be obtained, and the corresponding IMU 6-axis data and / or REF 6-axis data can be obtained based on the Qt visualization zoom chart.
[0126] S702, based on the linkage data, draw corresponding multiple waveform graphs into corresponding nested target windows through the Qt framework, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window.
[0127] In the embodiment of the present application, one target window corresponds to one waveform graph, and according to the linkage data obtained in step S701, the waveform graph corresponding to each type of data in the linkage data is drawn through the Qt framework, specifically, all the waveform graphs are drawn into the corresponding nested target window, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window. For example, according to the position difference (lateral, longitudinal, horizontal), attitude difference (heading, roll, pitch), speed difference, GNSS heading, INS attitude / solution state, REF attitude, IMU / REF 6-axis data, etc., 25 waveform graphs are drawn into 25 nested windows, and linkage control can be achieved through 25 windows, for example, Figure 8 shown.
[0128] Further, such as Fig. 9 As shown, the combined navigation visualization simulation method based on Qt and OpenCV in the embodiment of the present application may also include the following steps:
[0129] S901, obtaining a road section timestamp and a corresponding road section scoring index configuration, and calculating a corresponding scoring result based on the road section timestamp, the road section scoring index configuration, and the difference data.
[0130] In the embodiment of the present application, the road section timestamp and the corresponding road section scoring index configuration are obtained, and the corresponding scoring result is calculated based on the road section timestamp, the road section scoring index configuration and the difference data in the above embodiment for subsequent processing. Figure 2 As shown, after the scoring system obtains the difference data, it calculates the scoring result based on the input road section timestamp and the corresponding indicator configuration.
[0131] It should be noted that Python scripts can be used to implement scoring, for example, Figure 2 The scoring system shown in the figure automatically indexes the road section scoring indicators through csv+json, calculates the scoring results based on the difference data, and realizes automatic scoring. At the same time, pyxl can be used to realize the scoring results.
[0132] S902, outputting the scoring result to a simulation self-optimization strategy determined by simulation parameters, optimizing the simulation parameters according to the scoring result in response to a determined optimization operation for the simulation self-optimization strategy, and determining a new simulation liberalization strategy based on the optimized simulation parameters.
[0133] In the embodiment of the present application, the scoring result in step S901 is output to the simulation self-optimization strategy determined by the simulation parameters in the above embodiment, and in response to the determination optimization operation for the simulation self-optimization strategy, the simulation parameters are optimized according to the scoring result to obtain the optimized simulation parameters, and a new simulation liberalization strategy is determined based on the optimized simulation parameters. Figure 2 As shown, the scoring results are output to the algorithm self-optimization strategy. When "YES" is selected, the simulation parameters are optimized according to the scoring results to obtain the optimized simulation parameters, and a new algorithm liberalization strategy is determined based on the optimized simulation parameters.
[0134] Optionally, it is determined whether the scoring result meets the preset scoring criteria and meets the preset simulation self-optimization strategy conditions; if not, the simulation parameters are updated based on the scoring result to optimize the simulation parameters. Figure 2 As shown, when the result obtained from the scoring system output does not meet the standard and meets the self-optimization strategy conditions, the parameters can be automatically modified and re-input into the front stage of the simulation system for simulation.
[0135] It should be noted that the algorithm self-optimization strategy deployment is implemented using the Python external extension script function running on the Qt framework.
[0136] Therefore, it is only necessary to collect data from the actual vehicle once to achieve a closed data loop and perform repeated simulation optimization, thereby improving optimization efficiency.
[0137] S903, continue simulation based on the simulation data and the optimized simulation parameters to obtain new simulation results.
[0138] In the embodiment of the present application, simulation is continued based on the simulation data in the above embodiment and the optimized simulation parameters obtained in step S902 to obtain new simulation results. Figure 2 As shown, the optimized simulation parameters are used as new algorithm parameters to continue the simulation.
[0139] It should be noted that when the simulation parameters meet the requirements, the optimization of the simulation parameters can be stopped, and the simulation parameters at this time are the final simulation parameters.
[0140] Further, such as Fig.10 As shown, the combined navigation visualization simulation method based on Qt and OpenCV in the embodiment of the present application may also include the following steps:
[0141] S1001, obtaining section configuration and index information, calculating corresponding section difference information based on the section configuration and index information, and filtering out corresponding target section time based on the section difference information.
[0142] In the embodiment of the present application, the section difference information includes the level difference, elevation difference, navigation angle difference, roll angle difference, pitch angle difference and speed angle value, obtains the section configuration and index information, calculates the corresponding section difference information based on the section configuration and index information, and selects the corresponding target section time based on the section difference information. Fig.11 As shown, obtain Fig.11 The road segment configuration and indicator information shown, such as Fig.12 As shown, the section configuration and index information are read, the horizontal difference, elevation difference, navigation angle difference, roll angle difference, pitch angle difference and speed angle value are calculated, and the section time is further screened.
[0143] S1002, calculating a corresponding section result based on the target section time, and outputting the section result to a preset color control report.
[0144] In the embodiment of the present application, the section result at least includes the section circular probability error, the section root mean square error and the section maximum value. The corresponding section result is calculated based on the target section time in step S1001, and the section result is output to the preset color control report. Fig.12As shown, the section time is filtered out based on the horizontal difference, elevation difference, navigation angle difference, roll angle difference, pitch angle difference and speed angle value, and the section circular probability error, section root mean square error and section maximum value are calculated according to the section time and output to the color control report.
[0145] Furthermore, in response to a first operation on any one of the trajectory generation map and the zoom trajectory map, the first operation is synchronized to other maps; in response to a second operation on any one of the multiple target windows, the second operation is synchronized to other target windows. The first operation includes at least zooming, truncated display, data connection, and the second operation is zooming, etc. For example, when a zoom operation is performed on any one map, other maps are also zoomed synchronously. Similarly, when a zoom operation is performed on any one target window, other target windows are also zoomed synchronously.
[0146] As a result, the map can be freely scaled, truncated, and data linked, achieving rapid visualization. At the same time, multi-window linkage is achieved and the map can be freely scaled to a point, also achieving rapid visualization.
[0147] Furthermore, based on the road section scoring index configuration, a corresponding color control scoring table and a color control state transition diagram are obtained; based on the color control scoring table and the color control state transition diagram, a corresponding analysis report is generated according to a specified report format. Figure 2 As shown in the figure, after the scoring file is saved, you can freely choose whether to obtain the color control scoring table and color control state transition diagram, for example, Fig.13 As shown, it indicates the color control report, such as Fig.14 As shown, it represents the color control state transition diagram.
[0148] It should be noted that color visualization and report file generation in a specified format can be performed, which realizes automated production reports and report visualization. Matplotlib can be used to automatically generate state transition diagrams for position, posture, speed, etc.
[0149] Therefore, according to the specified route indicators, a score sheet and state transition diagram with color control are automatically generated, and a report is generated according to the specified report format. The results and analysis reports are obtained intuitively and quickly, reducing a lot of repetitive work for development and analysis.
[0150] In summary, this application uses Qt+OpenCV to implement the self-developed 100hz big data pure trajectory zoom trajectory map, and based on API+JavaScript, realizes the trajectory generation map with actual road section trajectory. Among them, the zoom trajectory map uses the Qt+OpenCV framework with a pure black background without a real-life road section map, and only draws points and lines, which can realize the 100hz big data trajectory map, while the trajectory generation map is based on its own API with a huge amount of actual road section map data, and can only realize 1hz trajectory map. Self-developed + AutoNavi can achieve functional complementarity and facilitate macro and micro analysis. For example, Shenzhen Dongbin Tunnel is selected as the analysis location, such as Figure 15-18 As shown, from the data in Shenzhen Dongbin Tunnel, we can see that the 1hz real-life map can confirm that it is basically within the lane. The 100hz self-developed map can show that the horizontal error data of the combined navigation in the tunnel has reached 1m+, which obviously exceeds the standard. Then we can continue to look for problem points in other places.
[0151] It should be noted that the present application provides a combined navigation visualization simulation method based on Qt and OpenCV, that is, a combined navigation data visualization simulation method based on Qt and OpenCV.
[0152] Fig.19 is a structural diagram of a combined navigation visualization simulation device based on Qt and OpenCV provided according to an embodiment of the present application; Fig.19 As shown, the combined navigation visualization simulation device 1900 based on Qt and OpenCV in the embodiment of the present application may specifically include:
[0153] The first acquisition module 1901 is used to collect basic data of the actual vehicle, obtain road sampling data based on the basic data, and obtain simulation data based on the road sampling data; wherein the basic data includes IMU data, GNSS data, CAN data and benchmark data; the road sampling data includes original road sampling data and reference road sampling data.
[0154] The simulation module 1902 is used to perform simulation based on the simulation data and the simulation parameters determined by the road sampling data to obtain corresponding simulation results; wherein the simulation results represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle.
[0155] The second acquisition module 1903 is used to acquire the trajectory generation map and the zoom trajectory map based on the simulation results and the reference road collection data by using the preset first map implementation framework and the second map implementation framework, and perform visual linkage control based on the trajectory generation map and the zoom trajectory map; wherein the second map implementation framework is composed of the Qt framework and the OpenCV framework.
[0156] In a possible implementation manner, the first acquisition module is specifically configured to:
[0157] Acquire original road sampling data based on IMU data, GNSS data, and CAN data, determine a reference value of preset accuracy in the reference data, and process the reference data based on the reference value to obtain corresponding reference road sampling data;
[0158] The original road sampling data and the reference road sampling data are parsed based on a preset format to obtain corresponding parsing results; wherein the parsing results include the original road sampling parsing results corresponding to the original road sampling data and the reference road sampling parsing results corresponding to the reference road sampling data;
[0159] A target bidirectional linked list is obtained based on the preset bidirectional linked list storage parsing results, and simulation data is obtained based on the original road sampling parsing results or the reference road sampling parsing results in the target bidirectional linked list by matching each frame of linked list data; wherein the target bidirectional linked list includes multiple frames of linked list data.
[0160] In a possible implementation manner, the second acquisition module is specifically configured to:
[0161] Based on the simulation results and reference road data, the corresponding target latitude and longitude data are obtained;
[0162] Based on the target latitude and longitude data and the simulation results, a preset first map implementation framework is used to obtain a first trajectory generation map of a first target frequency, and a preset second map implementation framework is used to obtain a first zoom trajectory map of a second target frequency;
[0163] Based on the target latitude and longitude height data and the reference road sampling data, a first map implementation framework and a second map implementation framework are used to obtain a second trajectory generation map and a second zoom trajectory map.
[0164] In a possible implementation manner, the second acquisition module is specifically configured to:
[0165] Calculating corresponding linkage data based on the simulation results and the reference values; wherein the linkage data includes difference data, posture data and axis data;
[0166] Based on the linkage data, the corresponding multiple waveform graphs are drawn into the corresponding nested target windows through the Qt framework, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window; wherein, one target window corresponds to one waveform graph.
[0167] In a possible implementation, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0168] A calculation module is used to obtain a road section timestamp and a corresponding road section scoring index configuration, and calculate a corresponding scoring result based on the road section timestamp, the road section scoring index configuration, and the difference data;
[0169] a determination module, configured to output the scoring result to a simulation self-optimization strategy determined by the simulation parameters, optimize the simulation parameters according to the scoring result in response to a selection operation for the simulation self-optimization strategy, and determine a new simulation liberalization strategy based on the optimized simulation parameters;
[0170] The third acquisition module is used to continue simulation based on the simulation data and the optimized simulation parameters to obtain new simulation results.
[0171] In a possible implementation, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0172] A screening module, used to obtain the section configuration and index information, calculate the corresponding section difference information based on the section configuration and index information, and screen the corresponding target section time based on the section difference information;
[0173] The output module is used to calculate the corresponding section results based on the target section time and output the section results to a preset color control report.
[0174] In a possible implementation, the combined navigation visualization simulation device based on Qt and OpenCV further includes:
[0175] A first synchronization module, configured to synchronize the first operation to other maps in response to a first operation on either one of the trajectory generation map and the trajectory scaling map;
[0176] The second synchronization module is used for synchronizing the second operation to other target windows in response to a second operation on any one of the multiple target windows.
[0177] The combined navigation visualization simulation device based on Qt and OpenCV provided in the embodiment of the present application collects basic data of a real vehicle, obtains road data based on the basic data, obtains simulation data based on the road data, performs simulation based on the simulation data and the simulation parameters determined by the road data, obtains corresponding simulation results, and obtains trajectory generation maps and zoom trajectory maps based on the simulation results and reference road data using a preset first map implementation framework and a second map implementation framework, and performs visualization linkage control based on the trajectory generation map and the zoom trajectory map. The combined navigation visualization simulation device based on Qt and OpenCV of the present application obtains simulation data through road data, performs simulation based on the simulation data and the simulation parameters determined by the road data, and obtains simulation results based on the simulation results and reference road data using a first map implementation framework and a second map implementation framework, and finally performs visualization linkage control, and only needs to collect data of the real vehicle once, avoiding excessive reliance on real-time data of the real vehicle, reducing the repetitive work of developers and testers, and reducing the cycle of combined navigation performance optimization. At the same time, through visualization linkage control, efficient and visualized analysis is achieved.
[0178] like Fig. 20 As shown, an electronic device 2000 provided in an embodiment of the present application includes: a processor 2001, a memory 2002 and a bus, wherein the memory 2002 stores machine-readable instructions executable by the processor 2001. When the electronic device is running, the processor 2001 communicates with the memory 2002 through the bus, and the processor 2001 executes the machine-readable instructions to perform the steps of the combined navigation visualization simulation method based on Qt and OpenCV as described above.
[0179] Specifically, the above-mentioned memory 2002 and processor 2001 can be general-purpose memory and processor, which are not specifically limited here. When the processor 2001 runs the computer program stored in the memory 2002, it can execute the above-mentioned combined navigation visualization simulation method based on Qt and OpenCV.
[0180] Corresponding to the above-mentioned combined navigation visualization simulation method based on Qt and OpenCV, 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 above-mentioned combined navigation visualization simulation method based on Qt and OpenCV are executed.
[0181] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0182] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0183] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0184] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the deployment method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0185] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A combined navigation visualization simulation method based on Qt and OpenCV, characterized in that: The method comprises: Collecting basic data of a real vehicle, acquiring road sampling data based on the basic data, and acquiring simulation data based on the road sampling data; wherein the basic data includes IMU data, GNSS data, CAN data and benchmark data; the road sampling data includes original road sampling data and reference road sampling data; Performing simulation based on the simulation data and the simulation parameters determined by the road sampling data to obtain corresponding simulation results; wherein the simulation results represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle; Based on the simulation results and the reference road data, a preset first map implementation framework and a second map implementation framework are used to obtain a trajectory generation map and a zoom trajectory map, and visual linkage control is performed based on the trajectory generation map and the zoom trajectory map; wherein the second map implementation framework is composed of a Qt framework and an OpenCV framework.
2. The method according to claim 1, characterized in that The step of acquiring the road sampling data based on the basic data, and acquiring the simulation data based on the road sampling data, comprises: Acquire the original road sampling data based on the IMU data, the GNSS data, and the CAN data, determine a reference value of a preset accuracy in the reference data, and process the reference data based on the reference value to obtain corresponding reference road sampling data; Parsing the original road sampling data and the reference road sampling data based on a preset format to obtain corresponding parsing results; wherein the parsing results include the original road sampling parsing results corresponding to the original road sampling data and the reference road sampling parsing results corresponding to the reference road sampling data; The analysis results are stored based on a preset bidirectional linked list to obtain a target bidirectional linked list, and the simulation data is obtained based on the matching of each frame of linked list data of the original road sampling analysis results or the reference road sampling analysis results in the target bidirectional linked list; wherein the target bidirectional linked list includes multiple frames of linked list data.
3. The method according to claim 2, characterized in that The method of using the preset first map implementation framework and the second map implementation framework to obtain the trajectory generation map and the zoom trajectory map includes: Acquire corresponding target latitude and longitude data based on the simulation result and the reference road sampling data; Based on the target latitude and longitude data and the simulation result, a preset first map implementation framework is used to obtain a first trajectory generation map of a first target frequency, and a preset second map implementation framework is used to obtain a first zoom trajectory map of a second target frequency; Based on the target latitude, longitude and height data and the reference road sampling data, the first map implementation framework and the second map implementation framework are used to obtain a second trajectory generation map and a second zoom trajectory map.
4. The method according to claim 3, characterized in that The visual linkage control based on the trajectory generation map and the zoomed trajectory map includes: Calculating corresponding linkage data based on the simulation result and the reference value; wherein the linkage data includes difference data, posture data and axis data; Based on the linkage data, the corresponding multiple waveform graphs are drawn into the corresponding nested target windows through the Qt framework, so as to perform multi-window visual linkage control on the trajectory generation map and the zoom trajectory map through the target window; wherein one target window corresponds to one waveform graph.
5. The method according to claim 4, characterized in that The method further comprises: Obtaining a road section timestamp and a corresponding road section scoring index configuration, and calculating a corresponding scoring result based on the road section timestamp, the road section scoring index configuration, and the difference data; Outputting the scoring result to a simulation self-optimization strategy determined by the simulation parameters, optimizing the simulation parameters according to the scoring result in response to a selection operation on the simulation self-optimization strategy, and determining a new simulation liberalization strategy based on the optimized simulation parameters; The simulation is continued based on the simulation data and the optimized simulation parameters to obtain new simulation results.
6. The method according to claim 5, characterized in that The method further comprises: Acquire the section configuration and index information, calculate the corresponding section difference information based on the section configuration and index information, and filter out the corresponding target section time based on the section difference information; The corresponding section result is calculated based on the target section time, and the section result is output to a preset color control report.
7. The method according to claim 6, characterized in that The method further comprises: In response to a first operation on any one of the trajectory generation map and the zoomed trajectory map, synchronizing the first operation to the other map; In response to a second operation on any one of the plurality of target windows, the second operation is synchronized to other target windows.
8. A combined navigation visualization simulation device based on Qt and OpenCV, characterized in that: The device comprises: A first acquisition module is used to collect basic data of a real vehicle, obtain road sampling data based on the basic data, and obtain simulation data based on the road sampling data; wherein the basic data includes IMU data, GNSS data, CAN data and benchmark data; the road sampling data includes original road sampling data and reference road sampling data; A simulation module, used to perform simulation based on the simulation data and simulation parameters determined by the road sampling data to obtain corresponding simulation results; wherein the simulation results represent the simulation results of the IMU data, GNSS data, and CAN data of the actual vehicle; The second acquisition module is used to acquire a trajectory generation map and a zoom trajectory map based on the simulation results and the reference road acquisition data by using a preset first map implementation framework and a second map implementation framework, and perform visual linkage control based on the trajectory generation map and the zoom trajectory map; wherein the second map implementation framework is composed of a Qt framework and an OpenCV framework.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the combined navigation visualization simulation method based on Qt and OpenCV as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the combined navigation visualization simulation method based on Qt and OpenCV as claimed in any one of claims 1 to 7.
