Method and device for target simulation control
By obtaining and judging the actual positioning data of the target, simulating the trajectory of the target directly or based on the planning data solves the problem of trajectory inconsistency in target simulation control in the existing technology, and realizes the effective control and impact reflection of the simulation system on the target driving trajectory. .
Patent Information
- Application Number
- CN202010954091.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-09-11
AI Technical Summary
In the target simulation control of the existing technology, the target driving trajectory calculated during the simulation process is inconsistent with the planning output driving trajectory, which cannot truly reflect the impact of the simulation control algorithm on the target driving trajectory, and the parameter adjustment of the control algorithm is complex, resulting in simulation results that are inconsistent with the target driving trajectory. Actual results vary widely.
By obtaining the actual positioning data of the target, it is judged whether it is the running starting point data. If so, the trajectory line is simulated directly; if not, the planned positioning data is determined based on the actual positioning data and the trajectory line is simulated to ensure that the simulation system dominates the target driving trajectory control and reflects the simulation. The impact of control algorithms.
It realizes that the movement of the target no longer follows the original trajectory in the scene package, truly reflects the impact of the simulation control algorithm on the driving trajectory, and solves the problem that the planning decision-making results cannot be reflected due to inconsistent trajectories during simulation.
Smart Images

Figure CN113761701B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for target simulation control. Background Art
[0002] When performing target simulation control, the existing technology either directly uses the positioning data of the target in the scene to plan the target's driving trajectory, or calculates the target through the control algorithm based on the positioning data of the target in the map, and plans the target's driving trajectory according to the calculation results. The former cannot truly reflect the impact of the control algorithm on the target's driving trajectory during the simulation process. In addition, since the control algorithm considers many factors, when the performance parameters of the target and the road surface parameters may be different, the parameters of the control algorithm need to be readjusted. Therefore, when the output result data of the control algorithm is used for calculation, the calculated target driving trajectory may be very different from the planned output driving trajectory, so it cannot well reflect the planning decision results. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method and device for target simulation control, which can realize the control of the target's driving trajectory by the simulation system, so that the movement of the target no longer follows the original trajectory in the scene package, and can truly reflect the impact of the simulation control algorithm on the target driving trajectory; it can solve the problem of being unable to reflect the planning decision results due to the inconsistency between the calculated target driving trajectory and the planned output driving trajectory during simulation.
[0004] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for target simulation control is provided, comprising:
[0005] Get the actual positioning data of the target;
[0006] Determining whether the actual positioning data is the positioning data of the running starting point of the target;
[0007] If so, the trajectory of the target is simulated based on the actual positioning data; otherwise, the planned positioning data of the target is determined based on the actual positioning data, and the trajectory of the target is simulated based on the planned positioning data.
[0008] Optionally, the actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory line includes time information and posture information of multiple trajectory points;
[0009] Determining the planned positioning data of the target based on the actual positioning data includes:
[0010] Acquire a first trajectory line corresponding to a previous frame of positioning data of the actual positioning data; the first trajectory line is generated by simulation based on the previous frame of positioning data, or is generated by simulation based on planned positioning data determined by the previous frame of positioning data;
[0011] The position and posture information of the target corresponding to the positioning timestamp is determined according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line.
[0012] Optionally, the posture information includes: position information, speed information, acceleration information and target orientation information;
[0013] Determining the position and posture information of the target corresponding to the positioning timestamp according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line, including:
[0014] Acquire a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line;
[0015] Determine the position information, speed information and acceleration information in the planned positioning data according to the positioning timestamp, and the time information, position information, speed information and acceleration information of the first trajectory point and the second trajectory point;
[0016] The target orientation information in the planned positioning data is determined according to the position information and the target orientation information of the first trajectory point and the position information in the planned positioning data.
[0017] Optionally, the time information of each track point on the first track line is the relative time to the first track point on the first track line;
[0018] Acquiring a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line includes:
[0019] Determine the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data; obtain the trajectory point whose time information is closest to the time difference and is less than or equal to the time difference from each trajectory point of the first trajectory line as the first trajectory point; obtain the trajectory point whose time information is closest to the time difference and is greater than or equal to the time difference from each trajectory point of the first trajectory line as the second trajectory point.
[0020] Optionally, the time intervals between adjacent trajectory points in the first trajectory line are equal.
[0021] Optionally, obtaining a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line further includes:
[0022] Confirm that the time difference between the positioning timestamp and the positioning timestamp of the previous frame of positioning data is greater than zero and less than or equal to the time span of the first trajectory line; and,
[0023] If the time difference is less than zero, or greater than the time span of the first trajectory line, an abnormality alarm is issued.
[0024] Optionally, before determining whether the actual positioning data is the positioning data of the running starting point of the target, the method further includes: confirming that there is no planned positioning data corresponding to the actual positioning data;
[0025] If there is planned positioning data corresponding to the actual positioning data, the trajectory of the target is simulated based on the planned positioning data.
[0026] According to a second aspect of an embodiment of the present invention, there is provided a device for target simulation control, comprising:
[0027] A control module, configured to: obtain actual positioning data of a target, determine whether the actual positioning data is positioning data of a running starting point of the target; and, when the actual positioning data is not positioning data of a running starting point of the target, determine planned positioning data of the target based on the actual positioning data;
[0028] A planning module is used to: when the actual positioning data is the positioning data of the running starting point of the target, simulate the trajectory of the target based on the actual positioning data; and when the actual positioning data is not the positioning data of the running starting point of the target, simulate the trajectory of the target based on the planned positioning data.
[0029] Optionally, the actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory line includes time information and posture information of multiple trajectory points;
[0030] The control module determines the planned positioning data of the target based on the actual positioning data, including:
[0031] Acquire a first trajectory line corresponding to a previous frame of positioning data of the actual positioning data; the first trajectory line is generated by simulation based on the previous frame of positioning data, or is generated by simulation based on planned positioning data determined by the previous frame of positioning data;
[0032] The position and posture information of the target corresponding to the positioning timestamp is determined according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line.
[0033] Optionally, the posture information includes: position information, speed information, acceleration information and target orientation information;
[0034] The control module determines the position and posture information of the target corresponding to the positioning timestamp according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line, including:
[0035] Acquire a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line;
[0036] Determine the position information, speed information and acceleration information in the planned positioning data according to the positioning timestamp, and the time information, position information, speed information and acceleration information of the first trajectory point and the second trajectory point;
[0037] The target orientation information in the planned positioning data is determined according to the position information and the target orientation information of the first trajectory point and the position information in the planned positioning data.
[0038] Optionally, the time information of each track point on the first track line is the relative time to the first track point on the first track line;
[0039] The control module acquires a first trajectory point before and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line, including:
[0040] Determine the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data; obtain the trajectory point whose time information is closest to the time difference and is less than or equal to the time difference from each trajectory point of the first trajectory line as the first trajectory point; obtain the trajectory point whose time information is closest to the time difference and is greater than or equal to the time difference from each trajectory point of the first trajectory line as the second trajectory point.
[0041] Optionally, the time intervals between adjacent trajectory points in the first trajectory line are equal.
[0042] Optionally, the control module is further used to: obtain, from each trajectory point of the first trajectory line, a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp, and confirm that the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data is greater than zero and less than or equal to the time span of the first trajectory line; and
[0043] If the time difference is less than zero, or greater than the time span of the first trajectory line, an abnormality alarm is issued.
[0044] Optionally, the control module is further used to: before determining whether the actual positioning data is the positioning data of the running starting point of the target, confirm that there is no planned positioning data corresponding to the actual positioning data;
[0045] The planning module is also used for: before determining whether the actual positioning data is the positioning data of the running starting point of the target, if there is planning positioning data corresponding to the actual positioning data, simulating the trajectory line of the target based on the planning positioning data.
[0046] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for target simulation control, comprising:
[0047] one or more processors;
[0048] a storage device for storing one or more programs,
[0049] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.
[0050] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0051] One embodiment of the above invention has the following advantages or beneficial effects: when the actual positioning data of the target obtained is the positioning data of the target running starting point, the trajectory line of the target is directly simulated based on the actual positioning data, which can ensure that the running starting point of the simulated target is consistent with the running starting point of the target in the scene package; when the actual positioning data of the target obtained is not the positioning data of the target running starting point, the trajectory line of the target is simulated based on the planning positioning data determined by the actual positioning data, which can realize the control of the driving trajectory of the target led by the simulation system, so that the movement of the target no longer follows the original trajectory in the scene package, and can truly reflect the influence of the simulation control algorithm on the target driving trajectory. In addition, since the trajectory lines of the target running starting point and the non-target running starting point are generated in different ways, it can solve the problem that the planning decision results cannot be reflected due to the inconsistency between the target driving trajectory output based on the planning positioning data and the driving trajectory output based on the actual positioning data during simulation.
[0052] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0054] Figure 1 It is a schematic diagram of the main process of the target simulation control method of an embodiment of the present invention;
[0055] Figure 2 is a schematic diagram of a trajectory line in an optional embodiment of the present invention;
[0056] Figure 3 is a schematic diagram of a target turning angle in an optional embodiment of the present invention;
[0057] Figure 4 is a flow chart of a method for target simulation control in an optional embodiment of the present invention;
[0058] Figure 5 Schematic diagram of main modules of the device for target simulation control according to an embodiment of the present invention;
[0059] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0060] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0061] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0062] According to one aspect of an embodiment of the present invention, a method for target simulation control is provided.
[0063] Figure 1 FIG. 1 is a schematic diagram of the main process of the target simulation control method according to an embodiment of the present invention. Figure 1 As shown, the target simulation control method includes: step S101, step S102 and step S103.
[0064] In step S101, the actual positioning data of the target is obtained. The target mentioned in the present invention refers to a movable object, such as an automatic vehicle, a toy, a robot, etc. The actual positioning data refers to the positioning data recorded when the target is actually running. The purpose of obtaining the actual positioning data in this step is to determine the position and posture of the target at the next moment. In actual application, only one frame of actual positioning data can be obtained, or multiple frames of actual positioning data can be obtained.
[0065] The content of the actual positioning data can be selectively set according to the actual situation, for example, it includes the location information and posture information of the target. The posture information may include speed, acceleration, target orientation and other information. In order to facilitate access, the data protocol of the actual positioning data can be set to agree on the data structure of the actual positioning data. Taking the PROTOBUF (a structured data storage method) protocol as an example, the data structure is as follows:
[0066] message localization
[0067] / / Target coordinates (xyz coordinate system)
[0068] double x=1;
[0069] double y=2;
[0070] double z=3;
[0071] / / Line speed
[0072] double v = 4;
[0073] / / Acceleration
[0074] double a=5;
[0075] / / The direction of the vehicle head (the angle between the direction and the y-axis)
[0076] double theta = 6;
[0077] }
[0078] In step S102, it is determined whether the actual positioning data obtained in step S101 is the positioning data of the target's running starting point. The range of the positioning data of the target's running starting point can be selectively set according to actual conditions, for example: the first frame of positioning data recorded when the target is actually running is used as the positioning data of the target's running starting point, or the first N (N is an integer greater than 1) frames of positioning data recorded when the target is actually running are used as the positioning data of the target's running starting point, or the positioning data within a preset time length recorded when the target is actually running is used as the positioning data of the target's running starting point, etc.
[0079] In this step, if the actual positioning data acquired in step S101 is the positioning data of the target's running starting point, jump to step S103; otherwise, jump to step S104.
[0080] In step S103, the trajectory of the target is simulated based on the actual positioning data. In the present invention, when the actual positioning data of the target obtained is the positioning data of the target's running starting point, it means that the actual positioning data has no corresponding trajectory, and no deduction calculation has been performed based on the actual positioning data before. At this time, the trajectory of the target is directly simulated based on the actual positioning data, so that the running starting point of the simulated target can be guaranteed to be consistent with the running starting point of the target in the scenario package.
[0081] In step S104, the planned positioning data of the target is determined based on the actual positioning data, and then in step S105, the trajectory of the target is simulated based on the planned positioning data.
[0082] Each acquired actual positioning data corresponds to a trajectory line, which may be generated by simulation based on the actual positioning data, or may be generated by simulation based on the planned positioning data determined by the actual positioning data. The trajectory lines corresponding to the actual positioning data acquired each time are connected together to obtain the running trajectory of the target in the entire simulation control process.
[0083] The trajectory line is a line formed by connecting the various trajectory points of the target during its movement, such as Figure 2 As shown. The trajectory points in the trajectory line corresponding to each actual positioning data are all target posture planning results after the start time of the actual positioning data. Exemplarily, a frame of actual positioning data is obtained in step S101, and the trajectory line corresponding to the frame of actual positioning data contains multiple trajectory points within a certain time length starting from the timestamp of the frame of actual positioning data. The number of trajectory points contained in each trajectory line can be selectively set according to actual conditions, such as 70, 80 or more. The time intervals between adjacent trajectory points in the trajectory line can be equal or different. The time interval between two adjacent trajectory points on the trajectory line can also be selectively set according to actual conditions, such as 50ms, 100ms, etc.
[0084] In actual application, the trajectory point data protocol can be set to agree on the data structure of the trajectory point. Taking the PROTOBUF protocol as an example, the data structure of the trajectory point includes the pose information of the target corresponding to the trajectory point and the trajectory point identifier. The following shows the data structure of the first trajectory point:
[0085] message TrajectoryPoint{
[0086] / / Target coordinates (xyz coordinate system)
[0087] double x=1;
[0088] double y=2;
[0089] double z=3;
[0090] / / Line speed
[0091] double v = 4;
[0092] / / Acceleration
[0093] double a=5;
[0094] }
[0095] message Trajectory{
[0096] repeated TrajectoryPoint trajectory_point=1;
[0097] }
[0098] The content of the trajectory positioning data can be selectively set according to the actual situation, for example, it includes the location information and posture information of the target. The posture information may include speed, acceleration, target orientation and other information. In order to facilitate access, the data protocol of the trajectory positioning data can be set to agree on the data structure of the trajectory positioning data. Taking the PROTOBUF (a structured data storage method) protocol as an example, the data structure is as follows:
[0099] message localization
[0100] / / Target coordinates (xyz coordinate system)
[0101] double x=1;
[0102] double y=2;
[0103] double z=3;
[0104] / / Line speed
[0105] double v = 4;
[0106] / / Acceleration
[0107] double a=5;
[0108] / / The direction of the vehicle head (the angle between the direction and the y-axis)
[0109] double theta = 6;
[0110] }
[0111] The process of simulating the trajectory of the target according to the actual positioning data or the planned positioning data can be selectively set according to the actual situation, and the embodiment of the present invention does not make any specific limitation to this.
[0112] The definition of the xyz coordinate system in the above example can be selectively set according to actual conditions, for example, as a world coordinate system, or with the lateral direction of the target road as the x-axis, the target forward direction as the y-axis, and the vertical direction of the road as the z-axis. The target orientation reflects the driving direction of the target. For any trajectory point on the trajectory line, when the position point obtained based on the current actual positioning data through the push calculation (the push calculation is to determine the planned positioning data based on the actual positioning data) and the position point of the previous trajectory point in the xyz coordinate system are linearly connected, the angle between the connecting line and the driving direction of the target at the previous position point is the target turning angle that needs to be solved in this push calculation. Figure 3 As shown, in this example, the target is a vehicle. The initial position of the main vehicle in the figure is the position of the vehicle's previous trajectory point in the xyz coordinate system, the initial direction of the main vehicle is the driving direction of the vehicle at the previous position point, the position of the main vehicle after pushing is the position point obtained by pushing calculation based on the current actual positioning data, and the vehicle turning angle of the main vehicle is the vehicle turning angle that needs to be solved in this pushing calculation.
[0113] When performing target simulation control, if the positioning data of the target in the scene is directly used to plan the target's driving trajectory.
[0114] Either the target is calculated through the control algorithm based on the positioning data of the target in the map, and the target's driving trajectory is planned according to the calculation results. In this way, the driving trajectory of the main vehicle in the simulation result is completely consistent with the trajectory in the original scene package. In theory, the simulation should be run in sequence according to the topological structure of the algorithm. When a module generates result data in the simulation, the downstream uses the simulation result data for calculation, rather than using the data in the scene package for calculation, so as to simulate the actual operation of the algorithm package. If the main vehicle control calculation including the push calculation is not performed, the simulation will use the original positioning number in the scene package to pass it to the downstream module that depends on positioning, resulting in two sources of input data for some downstream blocks during simulation, one is the positioning data in the original package, and the other is the data after simulation calculation. For example: if the topological relationship between the modules is "positioning->planning->control", the positioning data of the scene package (that is, the actual data when the main vehicle is running) is used in the simulation to give to the planning module, and the simulation system itself runs the planning module to obtain the output data of the planning module under the new algorithm to the control. In this case, the data given to the planning module is the original data, and the data given to the control module is the simulated data, so there will be two sources. This may not truly reflect the operation of the downstream modules in the simulation, and thus cannot truly reflect the impact of the control algorithm on the target driving trajectory during the simulation.
[0115] If the target is calculated through the control algorithm based on the positioning data of the target in the map, the target's driving trajectory is planned according to the calculation results. During the simulation process, the coordinates of the target in the map, as well as the time, speed, acceleration and other data at the coordinates are known through the current target positioning data; and the control is actually to calculate the positioning of the next frame. Since the data of the next frame (i.e., the frame to be controlled by simulation) also exists in the original scene package, the time of the next frame data can be known; at the same time, the simulation control module will also output the posture data of the main vehicle in the next stage after calculation, such as the speed and acceleration that the main vehicle needs to reach in the next period of time. The above conditions can be used to obtain the target starting point coordinates, initial velocity, target time at the starting point, target acceleration, and target time to the end point. With these data, the target's end point coordinates, end point speed, end point acceleration and other data can be calculated according to the linear acceleration formula. The end point is regarded as the position of the target in the next frame, and a simple simulation control is completed. This is repeated in the simulation, and one frame of positioning is calculated backward each time, thereby realizing the simulation-dominated target control method. This type of active control calculation takes into account many factors in the control algorithm. When the target performance parameters and road surface parameters may be different, the control algorithm parameters need to be readjusted. Therefore, when the output result data of the control algorithm is used for calculation, the calculated target driving trajectory may be very different from the planned output driving trajectory, and therefore cannot well reflect the planning decision results.
[0116] In an embodiment of the present invention, when the actual positioning data of the target obtained is not the positioning data of the target's running starting point, the trajectory line of the target simulated by the planned positioning data determined based on the actual positioning data can be controlled by the simulation system to control the target's driving trajectory, so that the movement of the target no longer follows the original trajectory in the scene package, and can truly reflect the impact of the simulation control algorithm on the target's driving trajectory.
[0117] In addition, since the trajectory lines of the target running starting point and the non-target running starting point are generated in different ways, it can solve the problem of not being able to reflect the planning decision results due to the inconsistency between the target driving trajectory output based on the planning positioning data and the driving trajectory output based on the actual positioning data during simulation.
[0118] Optionally, the actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory includes time information and posture information of multiple trajectory points. Determining the planned positioning data of the target based on the actual positioning data includes: obtaining a first trajectory corresponding to the previous frame positioning data of the actual positioning data; the first trajectory is generated by simulation based on the previous frame positioning data, or is generated by simulation based on the planned positioning data determined by the previous frame positioning data; determining the posture information of the target corresponding to the positioning timestamp based on the positioning timestamp and the time information and posture information of each trajectory point in the first trajectory.
[0119] by Figure 2 For example, the planned positioning data of the target at 0.01s is determined based on the actual positioning data, including: obtaining the trajectory line of the target at 0s; determining the posture information of the target at 0.01s according to the time information and posture information of each trajectory point in the trajectory line of the target at 0s.
[0120] The trajectory points in the trajectory line corresponding to each actual positioning data are all the target posture planning results after the start time of the actual positioning data. Therefore, the trajectory line generated by the simulation of the previous frame positioning data contains the posture information corresponding to the timestamp of the current frame positioning data. Determining the planned positioning data corresponding to the actual positioning data of the current frame based on the trajectory line of the previous frame positioning data can ensure the consistency of the posture information corresponding to the same timestamp on different trajectory lines, thereby improving the simulation control effect.
[0121] In the actual application process, before obtaining the first trajectory point before the positioning timestamp and the second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line, it also includes: confirming that the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data is greater than zero and less than or equal to the time span of the first trajectory line, so as to ensure that the first trajectory line contains the first trajectory point before the positioning timestamp and the second trajectory point after the positioning timestamp. If the time difference is less than zero or greater than the time span of the first trajectory line, an abnormal alarm is issued.
[0122] If the time difference is less than zero, it indicates that the actual positioning data of the current frame is no longer in the planning result of the first trajectory line. If the time difference is greater than the time span of the first trajectory line, the first trajectory line contains too few trajectory points to be used to determine the planning positioning data of the next frame. At this time, the number of trajectory points contained in the trajectory points or the time span of the trajectory line can be set to a larger value.
[0123] Optionally, the posture information includes: position information, speed information, acceleration information and target orientation information. According to the positioning timestamp and the time information and posture information of each track point in the first track line, the posture information of the target corresponding to the positioning timestamp is determined, including: obtaining the first track point before the positioning timestamp and the second track point after the positioning timestamp from each track point of the first track line; according to the positioning timestamp, and the time information, position information, speed information and acceleration information of the first track point and the second track point, the position information, speed information and acceleration information in the planned positioning data are determined; according to the position information and target orientation information of the first track point, and the position information in the planned positioning data, the target orientation information in the planned positioning data is determined.
[0124] When the time interval between the first trajectory point and the second trajectory point is short, it can be considered that the target moves in a straight line between the first trajectory point and the second trajectory point, which will not affect the overall driving trajectory. In addition, in actual application, the target can be considered to move in a straight line with uniform acceleration between the first trajectory point and the second trajectory point. The first trajectory point and the second trajectory point are the two trajectory points whose time information on the first trajectory line is closest to the positioning timestamp of the current actual positioning data. The position information of the target corresponding to the positioning timestamp is determined based on the first trajectory point and the second trajectory point, which can ensure the stability of the target's running trajectory during the simulation control process and improve the simulation control effect.
[0125] The time information of each track point on the track line can be expressed in absolute time, such as a certain year, month, hour, minute, and second; or in relative time, such as the time of each track point relative to the first track point on the track point. For example, assuming that the interval between adjacent track points on the track line is 100ms, the positioning timestamp of a frame of actual positioning data is 15:32:59:0 milliseconds on July 26, 2020. Then, when absolute time is used, the first track point in the corresponding track line represents the position of the target at 15:32:59:0 milliseconds on July 26, 2020, and the second track point represents the position of the target at 15:32:59:100 milliseconds on July 26, 2020, and so on. When relative time is used, the time information of the first track point in the corresponding track line is 0, the time information of the second track point is 100, and so on. Using absolute time is convenient for intuitively understanding the position information of the target at each moment, and using relative time is convenient for understanding the time relationship between each track point, and can reduce memory usage.
[0126] Optionally, the time information of each trajectory point on the first trajectory line is the relative time to the first trajectory point on the first trajectory line. Obtaining the first trajectory point before the positioning timestamp and the second trajectory point after the positioning timestamp from each trajectory point on the first trajectory line includes: determining the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data; obtaining the trajectory point whose time information is closest to the time difference and is less than or equal to the time difference from each trajectory point on the first trajectory line as the first trajectory point; obtaining the trajectory point whose time information is closest to the time difference and is greater than or equal to the time difference from each trajectory point on the first trajectory line as the second trajectory point. For specific examples, please refer to the following based on Figure 4 The relative time is used to quickly determine the relative position of the timestamp of the current actual positioning data in the trajectory line, thereby improving the speed of determining the planned positioning data.
[0127] Optionally, before determining whether the actual positioning data is the positioning data of the target's running starting point, it also includes: confirming that there is no planned positioning data corresponding to the actual positioning data; if there is planned positioning data corresponding to the actual positioning data, simulating the trajectory line of the target based on the planned positioning data.
[0128] During the target simulation process, the simulation system usually includes multiple modules. The topological structure between the modules is not necessarily serial, but parallel. Therefore, multiple modules may use the same frame of data. If the corresponding planning positioning data has been determined for the actual positioning data currently obtained during the previous module simulation, it can be used directly. In this way, on the one hand, it can avoid the waste of computing resources, and on the other hand, it can solidify the calculated planning positioning data, ensuring that the modules using the same frame of actual positioning data get the same planning positioning data.
[0129] Figure 4It is a flow chart of the method of target simulation control in the optional embodiment of the present invention. The execution subject of the method of target simulation control for realizing the embodiment of the present invention in the figure includes a main vehicle control module and a planning module. The target in this example is an automatic driving vehicle. In the automatic driving system, the calculation of the planning module will depend on the actual positioning data of the current vehicle. Therefore, in this embodiment, the main vehicle control logic is implemented between the function of reading the actual positioning data and starting the simulation planning. First, the main vehicle control module reads the actual positioning data in the scene package (i.e., the dependent positioning data in the figure, through which the actual positioning data can know the time when the vehicle is actually running), and then determines whether the read actual positioning data has been calculated by the main vehicle control module. If it has been calculated, the calculated data is directly returned to the planning module to simulate and generate the trajectory line of the vehicle. If it has not been calculated, it is determined whether a simulated trajectory line has been generated. If no trajectory is generated, it means that the planning module has not run successfully before. In this case, the actual positioning data in the read scene package needs to be used for simulation, so that the running starting point of the vehicle after simulation can be guaranteed to be consistent with the running starting point of the vehicle in the scene package. If a trajectory is generated, it means that the simulation of the previous planning module was successful and the trajectory line was output. At this time, the position calculation can be performed based on the trajectory line generated by the previous simulation, and the trajectory line simulation can be performed using the planning positioning data calculated by the position calculation. This ensures that after the planning result is obtained, the subsequent positioning data is determined based on the latest planning result. At the same time, the dependent positioning data given to the planning module is also the ideal data of the planning module result of the previous frame.
[0130] In this embodiment, a trajectory point data protocol is added to the original data structure of the vehicle, and the planning module is agreed to output a series of trajectory points (these trajectory points are connected to form a planned trajectory line). The trajectory point data generated by each simulation is written into the newly added data structure. The output data structure design of the planning module refers to the relevant introduction in the previous text, which will not be repeated here. At the same time, the structure of the positioning data (the actual positioning data and the planned positioning data have the same structure) is added to the original data structure. The positioning data includes the location information and posture information of the vehicle. The posture information includes speed, acceleration, vehicle orientation and other information. The data structure design of the positioning data refers to the relevant introduction in the previous text, which will not be repeated here.
[0131] The calculation of the push position mainly includes the following processes:
[0132] 1. Obtaining trajectory point data
[0133] The prerequisite for the inference calculation is to have the simulation results of the planning module, such as Figure 2As shown in the figure, each planned trajectory point is connected to form a trajectory line. The data of each trajectory point is based on the trajectory point data protocol described above, and the data is given by the planning module. At the same time, it is agreed that the time interval between adjacent trajectory points is a fixed length (whether the fixed length value can be customized according to the actual situation, in this example, the fixed length is agreed to be 100ms). The relative time (t) of the trajectory point is relative to the time when the simulation starts in the frame, that is, the output trajectory points are the planning results after the start time of the frame.
[0134] 2. Obtain the relative time of the positioning timestamp of the actual positioning data on the trajectory line
[0135] In this embodiment, except for the first frame of actual positioning data, the remaining positioning data relied on by the planning module are all planning positioning data obtained through inference calculation. The trajectory points in the planning results are relative time, so it is necessary to calculate the difference between the positioning timestamp of the actual positioning data and the timestamp of the planning frame. Let the relative time of the positioning timestamp of the actual positioning data on the trajectory line be t r , the timestamp of the planned single frame is planning_timestamp, and the timestamp of the actual positioning data is local_timestamp, then the formula is as follows:
[0136] t r =local_timestamp-planning_timestamp
[0137] If t r If it is negative, it means that the positioning frame data is not in the current planning result. Theoretically, it should have been calculated. If it is not the first frame planning simulation, an exception needs to be reported in this case. The presence of such data is problematic.
[0138] 3. Calculate the location information, speed information, and acceleration information of the vehicle in the planning positioning data based on the data of the trajectory points
[0139] Since the time between adjacent trajectory points is fixed, if the vehicle is considered to be moving in a straight line with uniform acceleration between the two trajectory points (because the time interval between the two points is short, it can be considered that the vehicle is moving in a straight line in a small time, which will not affect the overall driving trajectory), then according to the result t of the previous step r , calculate the main vehicle data on the trajectory line at that time point.
[0140] Assume that the initial velocity of the vehicle is v0, which is derived from the result of the calculation of the actual positioning data of the previous frame. If it is the first calculation, it is the velocity of the actual positioning data of the previous frame. r When the vehicle is projected onto the trajectory, its velocity is v r , the coordinates are (x r ,yr ,z r ), solve t by the following steps r The trajectory projection data at the time (i.e. the vehicle's position information, speed information, and acceleration information in the planning positioning data):
[0141] a. Get t r Two adjacent trajectory points (referring to t r The previous trajectory point and t r The data of these two points are represented by subscripts s and e respectively.
[0142] b. Find the percentage of local_timestamp between two points, calculated as p r :
[0143]
[0144] c. Find trajectory projection data
[0145] x r =(x e -x s )*p r
[0146] y r =(y e -y s )*p r
[0147] z r =(z e -z s )*p r
[0148] a r =a s
[0149] v r =v0+a r *(t r -t s )
[0150] 4. Calculate the vehicle orientation of the vehicle in the planning positioning data according to the endpoint coordinate data calculated in step 3 (i.e., the location information of the vehicle in the planning positioning data), i.e. Figure 3 The vehicle turning angle shown in is denoted by θ.
[0151] Set the initial position of the vehicle to (x s ,y s ,z s ), the starting point is α (the angle between the driving direction and the y-axis), and the end point is set to (x r ,y r,z r ), the end point is the result obtained in step 3, and the vehicle turning angle of the vehicle can be solved by the following steps:
[0152] a. Project the end point coordinates onto the coordinate system with the starting point as the y-axis (i.e., the vehicle body coordinate system), and calculate the y-axis coordinate y′ of the end point in the coordinate system:
[0153] y′=(y r -y0)*cosα-(x r -x0)*sinα
[0154] b. Use the y-axis coordinate in the vehicle coordinate system, the Euclidean distance between the start and end points, and the vehicle wheelbase w to calculate the vehicle turning angle θ:
[0155]
[0156] c. Theoretically, the end point is t r Therefore, the vehicle turning angle θ calculated in step b is usually the final vehicle orientation. However, since step b calculates the wheel turning angle of the vehicle to the end point, if the vehicle is in a very short period of time (assuming t r ), the vehicle does not reach the end point but reaches an intermediate point. It is necessary to calculate the change Δθ of the wheel angle when the vehicle reaches this intermediate point in order to more accurately calculate the final vehicle orientation.
[0157]
[0158] d. Find the final vehicle orientation θ r :
[0159] θ r =α+Δθ
[0160] 5. Write the planned positioning data calculated by pushing the position into the field corresponding to the positioning data, and store the planned positioning data of this frame into the memory for use as the starting point data for the next frame of pushing the position.
[0161] According to the above steps 1 to 5, the position calculation of the actual positioning data of all frames is completed. Each time a trajectory line needs to be simulated and generated, the dependent actual positioning data is first read for position calculation or the information of the position calculation is obtained, and then the simulation is performed. This iteration is carried out until all the actual positioning data are simulated.
[0162] According to a second aspect of an embodiment of the present invention, a device for implementing the above method is provided.
[0163] Figure 5 Schematic diagram of the main modules of the target simulation control device of the embodiment of the present invention, such as Figure 5As shown, the target simulation control device 500 includes:
[0164] The control module 501 is used to: obtain actual positioning data of a target, determine whether the actual positioning data is the positioning data of the running starting point of the target; and, when the actual positioning data is not the positioning data of the running starting point of the target, determine the planned positioning data of the target based on the actual positioning data;
[0165] The planning module 502 is used to: when the actual positioning data is the positioning data of the running starting point of the target, simulate the trajectory of the target based on the actual positioning data; and when the actual positioning data is not the positioning data of the running starting point of the target, simulate the trajectory of the target based on the planned positioning data.
[0166] Optionally, the actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory line includes time information and posture information of multiple trajectory points;
[0167] The control module determines the planned positioning data of the target based on the actual positioning data, including:
[0168] Acquire a first trajectory line corresponding to a previous frame of positioning data of the actual positioning data; the first trajectory line is generated by simulation based on the previous frame of positioning data, or is generated by simulation based on planned positioning data determined by the previous frame of positioning data;
[0169] The position and posture information of the target corresponding to the positioning timestamp is determined according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line.
[0170] Optionally, the posture information includes: position information, speed information, acceleration information and target orientation information;
[0171] The control module determines the position and posture information of the target corresponding to the positioning timestamp according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line, including:
[0172] Acquire a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line;
[0173] Determine the position information, speed information and acceleration information in the planned positioning data according to the positioning timestamp, and the time information, position information, speed information and acceleration information of the first trajectory point and the second trajectory point;
[0174] The target orientation information in the planned positioning data is determined according to the position information and the target orientation information of the first trajectory point and the position information in the planned positioning data.
[0175] Optionally, the time information of each track point on the first track line is the relative time to the first track point on the first track line;
[0176] The control module acquires a first trajectory point before and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line, including:
[0177] Determine the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data; obtain the trajectory point whose time information is closest to the time difference and is less than or equal to the time difference from each trajectory point of the first trajectory line as the first trajectory point; obtain the trajectory point whose time information is closest to the time difference and is greater than or equal to the time difference from each trajectory point of the first trajectory line as the second trajectory point.
[0178] Optionally, the time intervals between adjacent trajectory points in the first trajectory line are equal.
[0179] Optionally, the control module is further used to: obtain, from each trajectory point of the first trajectory line, a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp, and confirm that the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data is greater than zero and less than or equal to the time span of the first trajectory line; and
[0180] If the time difference is less than zero, or greater than the time span of the first trajectory line, an abnormality alarm is issued.
[0181] Optionally, the control module is further used to: before determining whether the actual positioning data is the positioning data of the running starting point of the target, confirm that there is no planned positioning data corresponding to the actual positioning data;
[0182] The planning module is also used for: before determining whether the actual positioning data is the positioning data of the running starting point of the target, if there is planning positioning data corresponding to the actual positioning data, simulating the trajectory line of the target based on the planning positioning data.
[0183] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for target simulation control, comprising:
[0184] one or more processors;
[0185] a storage device for storing one or more programs,
[0186] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.
[0187] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0188] Figure 6 An exemplary system architecture 600 is shown to which the method or apparatus for target simulation control according to the embodiments of the present invention may be applied.
[0189] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0190] Users can use terminal devices 601, 602, and 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0191] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0192] The server 605 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0193] It should be noted that the target simulation control method provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the target simulation control device is generally set in the server 605 .
[0194] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0195] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0196] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0197] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0198] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.
[0199] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0200] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0201] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, may be described as: a processor includes: a control module, for obtaining the actual positioning data of the target, determining whether the actual positioning data is the positioning data of the running starting point of the target; and, when the actual positioning data is not the positioning data of the running starting point of the target, determining the planned positioning data of the target based on the actual positioning data; a planning module, for simulating the trajectory of the target based on the actual positioning data when the actual positioning data is the positioning data of the running starting point of the target; and, when the actual positioning data is not the positioning data of the running starting point of the target, simulating the trajectory of the target based on the planned positioning data. Among them, the names of these modules do not constitute a limitation on the module itself in some cases, for example, the control module may also be described as "a module for simulating the trajectory of the target based on the actual positioning data".
[0202] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining the actual positioning data of the target; determining whether the actual positioning data is the positioning data of the running starting point of the target; if so, simulating the trajectory of the target based on the actual positioning data; otherwise, determining the planned positioning data of the target based on the actual positioning data, and simulating the trajectory of the target based on the planned positioning data.
[0203] According to the technical solution of the embodiment of the present invention, when the actual positioning data of the target obtained is the positioning data of the target running starting point, the trajectory line of the target is directly simulated based on the actual positioning data, which can ensure that the running starting point of the simulated target is consistent with the running starting point of the target in the scene package; when the actual positioning data of the target obtained is not the positioning data of the target running starting point, the trajectory line of the target is simulated based on the planning positioning data determined by the actual positioning data, which can realize the control of the driving trajectory of the target dominated by the simulation system, so that the movement of the target no longer follows the original trajectory in the scene package, and can truly reflect the influence of the simulation control algorithm on the target driving trajectory. In addition, since the trajectory lines of the target running starting point and the non-target running starting point are generated in different ways, it can solve the problem that the planning decision results cannot be reflected due to the inconsistency between the target driving trajectory output based on the planning positioning data and the driving trajectory output based on the actual positioning data during simulation.
[0204] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for target simulation control, characterized in that: include: Get the actual positioning data of the target; Determining whether the actual positioning data is the positioning data of the running starting point of the target; If yes, simulating the trajectory of the target based on the actual positioning data; Otherwise, determining the planned positioning data of the target based on the actual positioning data, and simulating the trajectory of the target based on the planned positioning data; The actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory line includes time information and posture information of multiple trajectory points; Determining the planned positioning data of the target based on the actual positioning data includes: Acquire a first trajectory line corresponding to a previous frame of positioning data of the actual positioning data; the first trajectory line is generated by simulation based on the previous frame of positioning data, or is generated by simulation based on planned positioning data determined by the previous frame of positioning data; The position and posture information of the target corresponding to the positioning timestamp is determined according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line.
2. The method according to claim 1, characterized in that The posture information includes: position information, speed information, acceleration information and target orientation information; Determining the position and posture information of the target corresponding to the positioning timestamp according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line, including: Acquire a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line; Determine the position information, speed information and acceleration information in the planned positioning data according to the positioning timestamp, and the time information, position information, speed information and acceleration information of the first trajectory point and the second trajectory point; The target orientation information in the planned positioning data is determined according to the position information and the target orientation information of the first trajectory point and the position information in the planned positioning data.
3. The method according to claim 2, characterized in that The time information of each track point on the first track line is the relative time to the first track point on the first track line; Acquiring a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line includes: Determine the time difference between the positioning timestamp and the positioning timestamp of the previous frame positioning data; obtain the trajectory point whose time information is closest to the time difference and is less than or equal to the time difference from each trajectory point of the first trajectory line as the first trajectory point; obtain the trajectory point whose time information is closest to the time difference and is greater than or equal to the time difference from each trajectory point of the first trajectory line as the second trajectory point.
4. The method according to claim 2, characterized in that The time intervals between adjacent trajectory points in the first trajectory line are equal.
5. The method according to claim 2, characterized in that Before obtaining a first trajectory point before the positioning timestamp and a second trajectory point after the positioning timestamp from each trajectory point of the first trajectory line, the method further includes: Confirm that the time difference between the positioning timestamp and the positioning timestamp of the previous frame of positioning data is greater than zero and less than or equal to the time span of the first trajectory line; and, If the time difference is less than zero, or greater than the time span of the first trajectory line, an abnormality alarm is issued.
6. The method according to any one of claims 1 to 5, characterized in that: Before determining whether the actual positioning data is the positioning data of the running starting point of the target, it also includes: confirming that there is no planned positioning data corresponding to the actual positioning data; If there is planned positioning data corresponding to the actual positioning data, the trajectory of the target is simulated based on the planned positioning data.
7. A device for target simulation control, characterized in that: include: The control module is used to: obtain actual positioning data of the target, and determine whether the actual positioning data is the positioning data of the running starting point of the target; and, when the actual positioning data is not the positioning data of the running starting point of the target, determining the planned positioning data of the target based on the actual positioning data; A planning module, used for: when the actual positioning data is the positioning data of the running starting point of the target, simulating the trajectory line of the target based on the actual positioning data; and, when the actual positioning data is not the positioning data of the running starting point of the target, simulating the trajectory line of the target based on the planned positioning data; The actual positioning data includes a positioning timestamp, and the planned positioning data includes: posture information corresponding to the positioning timestamp; the trajectory line includes time information and posture information of multiple trajectory points; Determining the planned positioning data of the target based on the actual positioning data includes: Acquire a first trajectory line corresponding to a previous frame of positioning data of the actual positioning data; the first trajectory line is generated by simulation based on the previous frame of positioning data, or is generated by simulation based on planned positioning data determined by the previous frame of positioning data; The position and posture information of the target corresponding to the positioning timestamp is determined according to the positioning timestamp and the time information and the position and posture information of each track point in the first track line.
8. An electronic device for target simulation control, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
