CN110471535A - A kind of drive simulating exchange method, device and equipment and storage medium - Google Patents

A kind of drive simulating exchange method, device and equipment and storage medium Download PDF

Info

Publication number
CN110471535A
CN110471535A CN201910865719.4A CN201910865719A CN110471535A CN 110471535 A CN110471535 A CN 110471535A CN 201910865719 A CN201910865719 A CN 201910865719A CN 110471535 A CN110471535 A CN 110471535A
Authority
CN
China
Prior art keywords
interaction
motion state
driving
interaction agent
drive simulating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910865719.4A
Other languages
Chinese (zh)
Other versions
CN110471535B (en
Inventor
刘连美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING JAYA TECHNOLOGY Co Ltd
Original Assignee
BEIJING JAYA TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING JAYA TECHNOLOGY Co Ltd filed Critical BEIJING JAYA TECHNOLOGY Co Ltd
Priority to CN201910865719.4A priority Critical patent/CN110471535B/en
Publication of CN110471535A publication Critical patent/CN110471535A/en
Application granted granted Critical
Publication of CN110471535B publication Critical patent/CN110471535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • G09B9/02Simulators for teaching or training purposes for teaching control of vehicles or other craft
    • G09B9/04Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of land vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Business, Economics & Management (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of drive simulating exchange method, device and equipment and medium, method includes: to obtain the first motion state of the main driving parameters and interaction agent driven;Wherein, the main vehicle for driving to be driven by subject;Judge whether to reach preset trigger condition based on driving parameters and the first motion state;If it is, the second motion state is changed to by the first motion state according to preset control parameters control interaction agent, so that interaction agent causes to hinder under the second motion state to main former driving status of driving;It determines interaction agent and the main end state driven, completes drive simulating interaction.When subject carries out drive simulating interactive experience, fully take into account practical driving situation, the first motion state according to the driving parameters and interaction agent driven main in driving procedure dynamically decides whether that triggering interaction agent state changes, so that interaction effect is truer, driving feeling of immersion is improved, the drive simulating interactive experience of user has been obviously improved.

Description

A kind of drive simulating exchange method, device and equipment and storage medium
Technical field
This application involves drive simulating technology technical fields, more specifically to a kind of drive simulating exchange method, dress It sets and equipment and a kind of computer readable storage medium.
Background technique
Virtual reality technology is a kind of computer simulation system that can be created with the experiencing virtual world, it utilizes computer A kind of simulated environment is generated, is that a kind of Multi-source Information Fusion, interactive Three-Dimensional Dynamic what comes into a driver's and the system of entity behavior are imitative Very.With the gradually development of virtual reality technology, application is also more and more extensive.Drive simulating training is being provided for subject and is being surveyed Examination aspect, is also applied to 3D virtual reality technology to build virtual scene.Shown in Figure 1, drive simulating equipment can pass through Display or VR show the virtual scene built, so that subject drives the master in virtual scene by control simulation steer Vehicle carries out Driving control.
When being the drive simulating interactive experience that subject provides under traditional approach, interaction agent usually is triggered on fixed opportunity The change of carry out state sets set scene in fixed bit, for example, setting was jaywalked every ten seconds pedestrians, or puts in fixed position Barrier is put, to detect the adaptability to changes of subject.However, under this scheme, the interaction for being tested subject Main body triggers precarious position according to fixed mode, causes there may be subjects by the dangerous just triggering of interaction locations, or Situations such as person subject is too far apart from interaction locations, and dangerous triggered, causes user's drive simulating interactive experience bad, sinks Leaching sense is poor.
Therefore, how to provide a kind of drive simulating exchange method for being able to solve above-mentioned technical problem is those skilled in the art What member needed to pay close attention to.
Summary of the invention
The application's is designed to provide a kind of drive simulating exchange method, device and equipment and a kind of computer-readable deposits Storage media improves driving feeling of immersion so that interaction effect is truer, has been obviously improved the drive simulating interaction body of user It tests.
To achieve the above object, this application provides a kind of drive simulating exchange methods, comprising:
Obtain the first motion state of the main driving parameters and interaction agent driven;Wherein, the master drives to be tested The vehicle that person is driven;
Judge whether to reach preset trigger condition based on the driving parameters and first motion state;
If it is, controlling the interaction agent according to preset control parameters is changed to second by first motion state Motion state, so that the interaction agent causes to hinder under second motion state to the master former driving status of driving;
It determines the end state that the interaction agent and the master are driven, completes drive simulating interaction.
Optionally, first motion state for obtaining the main driving parameters and interaction agent driven, comprising:
Obtain the main body of current vehicle location, travel speed, driving direction and dynamic interaction main body that the master drives Initial position;
Correspondingly, described judge whether to reach default triggering item based on the driving parameters and first motion state Part, comprising:
Determine the first distance between the current vehicle location and the main body initial position, and judge described first away from From whether consistent with the first pre-determined distance;Wherein, first pre-determined distance is to guarantee that the master drives from the current location Start, according to the travel speed advance and the dynamic interaction main body according to predetermined movement control parameter advance after reach simultaneously The distance of default interaction locations;
If it is, being judged to reaching the preset trigger condition.
Optionally, the end state that the determination interaction agent and the master drive, comprising:
If detecting, the master drives to control the interaction agent by the default interaction locations and stop moving It is dynamic.
Optionally, first motion state for obtaining the main driving parameters and interaction agent driven, comprising:
It obtains lane locating for the current vehicle location, travel speed, driving direction, vehicle that the master drives and static hands over Lane locating for the main body of mutual main body;
Correspondingly, described judge whether to reach default triggering item based on the driving parameters and first motion state Part, comprising:
Determine the second distance between the current vehicle location and the main body initial position, and judge described second away from From whether consistent with the second pre-determined distance;
If it is, being judged to reaching the preset trigger condition.
Optionally, described to control the interaction agent according to preset control parameters and be changed to the by first motion state Before two motion states, further includes:
Judge whether lane locating for lane locating for the vehicle and the main body is same lane;
If it is, triggering is described to control the interaction agent by first motion state more according to preset control parameters The step of being changed to the second motion state, so that static interaction agent lane locating for the main body is changed to the vehicle On locating lane.
Optionally, the end state that the determination interaction agent and the master drive, comprising:
It drives whether to be in contact according to the interaction agent and the master and determines that the interaction agent and the master are driven End state.
Optionally, after the end state that the determination interaction agent and the master drive, further includes:
The simulation test result of the subject is determined according to the end state and is exported.
To achieve the above object, this application provides a kind of drive simulating interactive devices, comprising:
Module is obtained, for obtaining the first motion state of the main driving parameters and interaction agent driven;Wherein, described The main vehicle for driving to be driven by subject;
Judgment module reaches default triggering item for judging whether based on the driving parameters and first motion state Part;
Module is changed, if controlling the interaction according to preset control parameters for reaching the preset trigger condition Main body is changed to the second motion state by first motion state, so that the interaction agent is under second motion state The master former driving status of driving is caused to hinder;
Determining module, the end state driven for determining the interaction agent and the master complete drive simulating interaction.
To achieve the above object, this application provides a kind of drive simulating interactive devices, comprising:
Memory, for storing computer program;
Processor realizes aforementioned disclosed any drive simulating exchange method when for executing the computer program Step.
To achieve the above object, this application provides a kind of computer readable storage medium, the computer-readable storages Computer program is stored on medium, the computer program realizes that aforementioned disclosed any simulation is driven when being executed by processor The step of sailing exchange method.
By above scheme it is found that a kind of drive simulating exchange method provided by the present application, comprising: obtain the main row driven Sail the first motion state of parameter and interaction agent;Wherein, the master drives the vehicle driven by subject;Based on described Driving parameters and first motion state judge whether to reach preset trigger condition;If it is, according to preset control parameters It controls the interaction agent and the second motion state is changed to by first motion state, so that the interaction agent is described The master former driving status of driving is caused to hinder under two motion states;Determine the interaction agent and the end that the master drives State completes drive simulating interaction.From the foregoing, it will be observed that fully taking into account reality when subject carries out drive simulating interactive experience Driving situation, the first motion state according to the driving parameters and interaction agent driven main in driving procedure dynamically determine be No triggering interaction agent state changes, so that interaction effect is truer, improves driving feeling of immersion, has been obviously improved user's Drive simulating interactive experience.
Disclosed herein as well is a kind of drive simulating interactive device and a kind of drive simulating interactive devices and a kind of computer Readable storage medium storing program for executing is equally able to achieve above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Application.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of drive simulating equipment;
Fig. 2 is a kind of flow chart of drive simulating exchange method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of another kind drive simulating exchange method disclosed in the embodiment of the present application;
Fig. 4 is the flow chart of another drive simulating exchange method disclosed in the embodiment of the present application;
Fig. 5 is a kind of structure chart of drive simulating interactive device disclosed in the embodiment of the present application;
Fig. 6 is a kind of structure chart of drive simulating interactive device disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In the prior art, when the drive simulating interactive experience provided for subject, usually in fixed opportunity triggering interaction Main body carries out state change or sets set scene in fixed bit, for example, setting was jaywalked every ten seconds pedestrians, or in fixed bit It sets and puts barrier, to detect the adaptability to changes of subject.However, under this scheme, for what is tested subject Interaction agent triggers precarious position according to fixed mode, causes there may be subjects by the dangerous just touching of interaction locations Situations such as hair or subject are too far apart from interaction locations, and dangerous triggered, leads to user's drive simulating interactive experience not Good, feeling of immersion is poor.
Therefore, the embodiment of the present application discloses a kind of drive simulating exchange method, improves driving feeling of immersion, is obviously improved The drive simulating interactive experience of user.
Shown in Figure 2, a kind of drive simulating exchange method disclosed in the embodiment of the present application includes:
S101: the first motion state of the main driving parameters and interaction agent driven is obtained;Wherein, the master drive for The vehicle that subject is driven;
In this step, the driving parameters that the master that subject is driven drives in practical driving procedure are obtained, are specifically obtained Taking mode can be to obtain driving parameters in real time or periodically obtain driving parameters according to the default acquisition period.In addition, also needing Obtain the first motion state of interaction agent, wherein interaction agent, which refers in drive simulating, to drive to interact with main The static state interaction agent such as various objects, such as pedestrian, other vehicle dynamic interaction main bodys or road barricade;First motion state It may include state either statically or dynamically, such as the information such as position, direction, speed of interaction agent.
S102: judge whether to reach preset trigger condition based on the driving parameters and first motion state;If It is then to enter step S103;
It is understood that the present embodiment pre-sets trigger condition, thus getting the main driving parameters driven And after the first motion state of interaction agent, it can judge whether to meet default touching in conjunction with driving parameters and the first motion state Clockwork spring part changes to trigger interaction agent state.
S103: the interaction agent is controlled according to preset control parameters, the second movement is changed to by first motion state State, so that the interaction agent causes to hinder under second motion state to the master former driving status of driving;
In this step, if above-mentioned judgement obtains meeting preset trigger condition, according to preset control parameter to interaction Main body carries out state change operation, so that interaction agent is switched to the second motion state by the first motion state, so as to interaction agent Main former driving status of driving can be caused to hinder under the second motion state.
S104: determining the end state that the interaction agent and the master are driven, and completes drive simulating interaction.
In the embodiment of the present application, can triggering interaction agent motion state be changed after, determine interaction agent and The main end state for driving final completes drive simulating interaction.
In specific implementation, when the end state that above-mentioned determining interaction agent and master drive, interactive master can be specifically based on Whether body and master drive to be in contact to determine.
Further, in the drive simulating test scene of drive simulating interactive experience, determine that interaction agent and master are driven End state after, the mould of subject can also be further determined according to above-mentioned interaction agent and the main end state driven It is quasi- to drive test result, for example, being determined as that current subject fails to pass through simulation if interaction agent and master drive to be in contact Drive test;If interaction agent and master drive not to be in contact, it is determined as that current subject successfully passes drive simulating test. After obtaining drive simulating test result, drive simulating test result can be carried out by way of visualization interface defeated Out, it is, of course, also possible to pass through the loudspeaking equipment installed in drive simulating equipment audibly to the above-mentioned drive simulating of output Test result, to carry out prompt notice to subject.
By above scheme it is found that a kind of drive simulating exchange method provided by the present application, comprising: obtain the main row driven Sail the first motion state of parameter and interaction agent;Wherein, the master drives the vehicle driven by subject;Based on described Driving parameters and first motion state judge whether to reach preset trigger condition;If it is, according to preset control parameters It controls the interaction agent and the second motion state is changed to by first motion state, so that the interaction agent is described The master former driving status of driving is caused to hinder under two motion states;Determine the interaction agent and the end that the master drives State completes drive simulating interaction.From the foregoing, it will be observed that fully taking into account reality when subject carries out drive simulating interactive experience Driving situation, the first motion state according to the driving parameters and interaction agent driven main in driving procedure dynamically determine be No triggering interaction agent state changes, so that interaction effect is truer, improves driving feeling of immersion, has been obviously improved user's Drive simulating interactive experience.
The embodiment of the present application discloses another drive simulating exchange method, relative to a upper embodiment, the present embodiment pair Technical solution has made further instruction and optimization.It is shown in Figure 3, specific:
S201: the main body of main current vehicle location, travel speed, driving direction and the dynamic interaction main body driven is obtained Initial position;Wherein, the master drives the vehicle driven by subject;
S202: the first distance between the current vehicle location and the main body initial position is determined, and described in judgement Whether first distance is consistent with the first pre-determined distance;If it is, entering step S203;
Wherein, first pre-determined distance is to guarantee that the master drives since the current location, according to the traveling Reached simultaneously after speed is advanced and the dynamic interaction main body is advanced according to predetermined movement control parameter default interaction locations away from From;
S203: it is judged to reaching the preset trigger condition, and controls the dynamic interaction master according to preset control parameters Body is changed to the second motion state by first motion state, so that the dynamic interaction main body is in second motion state Under the master former driving status of driving is caused to hinder;
S204: determining the end state that the dynamic interaction main body and the master are driven, and completes drive simulating interaction.
It should be noted that in the present embodiment, interaction agent is specially the dynamic interaction main body that it has movement velocity, Such as pedestrian, falling rocks, other vehicles in interaction scenarios.Specifically, during main drive, main corresponding vehicle of driving is determined Position, travel speed and driving direction, and determine the main body initial position of dynamic interaction main body.
In specific implementation, by the real-time first distance determined between current vehicle location and main body initial position.Working as When the distance between vehicle in front position and main body initial position are the first pre-determined distance, if main drive still according to above-mentioned traveling speed Degree is advanced, and dynamic interaction main body is advanced according to predetermined movement control parameter, and the two can reach default interaction locations simultaneously.By This, the present embodiment, will be based on above-mentioned distance value, vehicle after get the main driving parameters and main body initial position driven Travel speed and predetermined movement control parameter determine the first pre-determined distance, and judge current vehicle location and main body initial position Between first distance it is whether consistent with the first pre-determined distance.
If it is consistent with the first pre-determined distance that above-mentioned judgement obtains first distance, it is judged to reaching preset trigger condition, this When according to predetermined movement control parameter triggering dynamic interaction main body motion state change.Wherein, predetermined movement control parameter can To include the direction of motion and movement velocity etc..
It is understood that if triggering dynamic interaction main body motion state change after during, interaction agent with Master drives to be in contact, then it represents that subject still keeps travelling after the change of dynamic interaction subjective situation according to travel speed, not Emergency case can be reacted in time;If interaction agent drives not to be in contact with master, then it represents that subject sees that dynamic is handed over It is adjusted in time after mutual subjective situation change, such as the operation such as acceleration, deceleration or parking, avoids the friendship with interaction agent Mutually.
Further, as a preferred embodiment, the embodiment of the present application is triggering dynamic interaction main body by first Motion state is changed to the second motion state, after causing obstruction to main former driving status of driving so as to dynamic interaction main body, if Detect that master drives through above-mentioned default interaction locations, then it represents that subject may drive accelerate control behaviour to main Make, so that default interaction locations are reached in advance before dynamic interaction main body, at this point, control dynamic interaction main body stops moving It is dynamic, so that scene interactivity is more scientific and reasonable.
The embodiment of the present application discloses another drive simulating exchange method, relative to a upper embodiment, the present embodiment pair Technical solution has made further instruction and optimization.It is shown in Figure 4, specific:
S301: obtain lane locating for the current vehicle location, travel speed, driving direction, vehicle that the master drives and Lane locating for the main body of static interaction agent;Wherein, the master drives the vehicle driven by subject;
S302: the second distance between the current vehicle location and the main body initial position is determined, and described in judgement Whether second distance is consistent with the second pre-determined distance;If it is, entering step S303;
S303: judgement reaches the preset trigger condition, and judges vehicle locating for lane locating for the vehicle and the main body Whether road is same lane;If it is, entering step S304;
S304: the interaction agent is controlled according to preset control parameters, the second movement is changed to by first motion state State, so that static interaction agent lane locating for the main body to be changed on lane locating for the vehicle to the master Former driving status of driving causes to hinder;
S305: determining the end state that the dynamic interaction main body and the master are driven, and completes drive simulating interaction.
It should be noted that in the present embodiment, interaction agent does not have the static interaction agent of movement velocity specially, Such as the road barricades such as construction warning signs, failure warning nameplate.Above-mentioned second pre-determined distance is subject in current driving speed There can be the enough reaction time to judge barrier after seeing static interaction agent under degree and make the distance of avoidance reaction. It is too far apart from interaction locations that this embodiment avoids subjects as a result, and when static interaction agent has been positioned at interaction locations leads Family drive simulating interactive experience of applying is bad, it is difficult to which the case where subject's reaction time is arrived in examination.
Specifically, it is first determined the main current vehicle location driven, travel speed, driving direction, lane locating for vehicle, with And lane locating for the main body of static interaction agent, and determine the distance between current vehicle position and main body initial position, if should Distance is consistent with the second pre-determined distance, then is judged to reaching preset trigger condition.It is understood that being opened in drive simulating interaction Before beginning, static interaction agent is located in road specific position on a certain lane, in the case where driving section has multiple lanes, by In that can not determine vehicle travels on which lane, so when master drives close to static interaction agent and is finally reached second in advance If apart from when, control static interaction agent and be placed on lane locating for vehicle, realize the purpose interacted with subject.
By static interaction agent change the lane locating for current vehicle after, if subject do not found in driving procedure it is quiet It is not reacted in time after state interaction agent, or the static interaction agent in discovery front, then eventually leads to main drive and interaction agent It is contacted,;If subject drives to carry out lane change or shut-down operation to master in time after finding front interaction agent, final interaction Main body and master drive not contacted.
In order to make it easy to understand, below by specific example to drive simulating exchange method provided by the embodiments of the present application into Row further explains.Specifically, when driver drives vehicle driving in virtual driving scene, system drives real-time analysis The driving behavior for the person of sailing, and the optimal interaction schemes in minimal cost path planning and path searching system are automatically selected, specifically It may include a variety of interaction logics and scheme, only do brief citing below.
It is in the scene of driver's test object with the children jaywalked suddenly, on the run, system is real by driver When detection driver's vehicle the information such as speed, position, direction, when the relationship between the distance between vehicle and children and speed When reaching default interaction condition, triggering children start to jaywalk, at this time if driver takes no action to slow down or avoid, Children are collided, it is on the contrary then do not collide;If system-computed goes out the two will reach interactive place simultaneously, make children in safe distance Stop running outside, vehicle is avoided to pass through and children's actively unreasonable event generation such as collision.After vehicle crosses interactive place, Controllable children continue to run.
Above-mentioned scene is described in detail below, specifically, obtains the main travel speed V to drive firstVehicle, driving direction And current location, and the initial position of pedestrian is obtained, parked cars right front position for example, pedestrian stands towards road in trackside It sets.And then determine pedestrian and default interaction locations distance SPeople, and main the distance between the pedestrian that drives is obtained, if distance isMeter Shi, then it represents that reach preset trigger condition, wherein VPeopleIndicate the travel speed set in advance for pedestrian, this When, pedestrian is controlled according to VPeopleIt is mobile to road opposite.Finally, if pedestrian drives to be in contact with master, then it represents that master drives to fail Success avoids pedestrian;If pedestrian drives not to be in contact with master, then it represents that subject drives accelerate, slow down or stop to main Vehicle operation, to successfully avoid pedestrian.
Drive in scene in another kind, driver is because evacuation is dangerous, obstacle, or not in regulation lanes, cause and its When track cross occurs for the personage in his vehicle or scene, system can calculate positional relationship and week between the two in real time automatically If confining space size drives not influence other side to pass through main, other side normal through;Pass through but around have if leading and driving to influence other side Hide space enough, other side can be set and actively bypass main drive;Drive to influence that other side passes through and surrounding is not enough if main Hide space, setting other side stops in predeterminated position, if master drives to continue to move ahead at this time, may crash.If main The opposite lane in front is encountered when driving barrier, and grain is shone in such as construction, and when opposite direction has vehicle to sail next, if detecting master It drives not avoid opposite vehicle, then can set opposite vehicle is not influencing the main position parking driven;If detecting main evacuation pair of driving To vehicle, then it can set the preferential piggybacking of opposite vehicle and pass through.
Further, to drive simulating exchange method provided by the embodiments of the present application under drive simulating test application scene Specific design process be explained in detail.
Step 1 determines the content of examination of drive simulating test, to design detailed virtual scene according to content of examination Development plan.For example, setting content of examination as the urban road in two-way two lane, in front of trackside non-motorized lane parked vehicle Pedestrian is run out of suddenly.
Step 2 models the object in drive simulating scene according to virtual scene development plan.Specifically, to master It drives, interaction agent, traffic lights, urban road, street lamp, roadside structure etc. are modeled.
Step 3, three-dimensional scenic are built, the model buildings virtual reality scenario established using above-mentioned steps.
Step 4 is configured the state of interaction agent.For example, the original state of setting pedestrian, i.e., the first movement shape State: it stands towards road and parks cars vehicle body one o'clock position in trackside, without other limb actions;The second movement of pedestrian is set State: it runs from standing place with the speed of 2.5m/s to road opposite;The end state one of pedestrian is set: from initial erect position It sets and stops after running to road opposite, stand in trackside street crossing;The end state two of pedestrian is set: from initial standing place to Road opposite is driven to knock down during running by master, lies in road surface.
Step 5, the trigger condition that setting interaction agent state changes.For example, the main distance between pedestrian of driving of setting reaches When to pre-determined distance, pedestrian is controlled from the first motion state and switches to the second motion state, so that pedestrian is to the main traveling driven It causes to hinder.
In the present embodiment, drive simulating environment can be built by modeling software, it specifically can be by driving environment with true Environment is the emulation of source 1:1 ratio, maximizes reduction real scene;Secondly the control of drive simulating equipment is realized by unity3D technology Vehicle processed is travelled in virtual driving environment;Finally, being set in conjunction with the factors such as driver's license driving condition and traffic conditions act of disposition It counts in model interaction logic, and designs and have minimal cost path planning and path searching system.
After completing exploitation design according to above-mentioned steps, it is deployed in drive simulating equipment and does access operation, so as to For subject using vehicle driving in drive simulating device manipulation virtual scene, drive simulating interaction is completed.
By above-mentioned design, subject is operated master in the virtual scene put up using drive simulating equipment and driven When, by real-time analysis vehicle-state and judge whether the trigger condition for meeting interaction agent, once meeting trigger condition, then triggers The state of interaction agent changes, and intellectual analysis can be made for the behavior of driving of driver, and selection is optimal, most suits current reality The interaction schemes of border road conditions.
It should be noted that the present embodiment for distinct interaction main body be arranged trigger condition after, also further combined with reality Situation considers the scientific rationality of interaction, and supplement state is arranged for interaction agent.For example, meeting trigger condition touching in interaction agent After hair-like state changes, if interaction agent does not reach default interaction locations, the master that subject is driven drives to have arrived at pre- If interaction locations, then control interaction agent and stop movement, avoids the occurrence of master and drive to have passed over interaction locations or be parked in interactive position When setting, interaction agent still hits the main un-reasonable phenomenon driven, so that each interaction agent is directed to what vehicle was made in scene Cross reaction is more true reasonable.
A kind of drive simulating interactive device provided by the embodiments of the present application is introduced below, a kind of mould described below The quasi- interactive device that drives can be cross-referenced with a kind of above-described drive simulating exchange method.
Shown in Figure 5, a kind of drive simulating interactive device provided by the embodiments of the present application includes:
Module 401 is obtained, for obtaining the first motion state of the main driving parameters and interaction agent driven;Wherein, The master drives the vehicle driven by subject;
Judgment module 402, for judging whether to reach default touching based on the driving parameters and first motion state Clockwork spring part;
Module 403 is changed, if controlling the friendship according to preset control parameters for reaching the preset trigger condition Mutual main body is changed to the second motion state by first motion state, so that the interaction agent is in second motion state Under the master former driving status of driving is caused to hinder;
Determining module 404, the end state driven for determining the interaction agent and the master are completed drive simulating and are handed over Mutually.
Specific implementation process about above-mentioned module 401 to 404 can refer to corresponding contents disclosed in previous embodiment, herein No longer repeated.
It is shown in Figure 6 present invention also provides a kind of drive simulating interactive device, one kind provided by the embodiments of the present application Drive simulating interactive device includes:
Memory 100, for storing computer program;
Drive simulating provided by above-described embodiment may be implemented in processor 200 when for executing the computer program The step of exchange method.
Specifically, memory 100 includes non-volatile memory medium, built-in storage.Non-volatile memory medium storage There are operating system and computer-readable instruction, which is that the operating system and computer in non-volatile memory medium can The operation of reading instruction provides environment.Processor 200 can be a central processing unit (Central in some embodiments Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, handed over for drive simulating Mutual equipment provides calculating and aforementioned reality may be implemented when executing the computer program saved in the memory 100 in control ability The step of applying any drive simulating exchange method disclosed in example.
Present invention also provides a kind of computer readable storage medium, the storage medium may include: USB flash disk, mobile hard disk, Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic The various media that can store program code such as dish or CD.Computer program, the calculating are stored on the storage medium The step of any drive simulating exchange method disclosed in previous embodiment is realized when machine program is executed by processor.
The application fully takes into account practical driving situation when subject carries out drive simulating interactive experience, according to driving The first motion state of the main driving parameters and interaction agent driven dynamically decides whether to trigger interaction agent shape in the process State changes, so that interaction effect is truer, improves driving feeling of immersion, has been obviously improved the drive simulating interaction body of user It tests.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration .It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of drive simulating exchange method characterized by comprising
Obtain the first motion state of the main driving parameters and interaction agent driven;Wherein, the master drives as subject institute The vehicle of driving;
Judge whether to reach preset trigger condition based on the driving parameters and first motion state;
If it is, controlling the interaction agent according to preset control parameters is changed to the second movement by first motion state State, so that the interaction agent causes to hinder under second motion state to the master former driving status of driving;
It determines the end state that the interaction agent and the master are driven, completes drive simulating interaction.
2. drive simulating exchange method according to claim 1, which is characterized in that described to obtain the main driving parameters driven And the first motion state of interaction agent, comprising:
The main body for obtaining current vehicle location, travel speed, driving direction and dynamic interaction main body that the master drives is initial Position;
Correspondingly, described judge whether to reach preset trigger condition based on the driving parameters and first motion state, wrap It includes:
It determines the first distance between the current vehicle location and the main body initial position, and judges that the first distance is It is no consistent with the first pre-determined distance;Wherein, first pre-determined distance is to guarantee that the master drives since the current location, It advances according to the travel speed and the dynamic interaction main body is default according to reaching simultaneously after the traveling of predetermined movement control parameter The distance of interaction locations;
If it is, being judged to reaching the preset trigger condition.
3. drive simulating exchange method according to claim 2, which is characterized in that the determination interaction agent and institute State the main end state driven, comprising:
If detecting, the master drives to control the interaction agent by the default interaction locations and stop movement.
4. drive simulating exchange method according to claim 1, which is characterized in that described to obtain the main driving parameters driven And the first motion state of interaction agent, comprising:
Obtain lane locating for the current vehicle location, travel speed, driving direction, vehicle that the master drives and static interaction master Lane locating for the main body of body;
Correspondingly, described judge whether to reach preset trigger condition based on the driving parameters and first motion state, wrap It includes:
It determines the second distance between the current vehicle location and the main body initial position, and judges that the second distance is It is no consistent with the second pre-determined distance;
If it is, being judged to reaching the preset trigger condition.
5. drive simulating exchange method according to claim 4, which is characterized in that described to be controlled according to preset control parameters The interaction agent is changed to before the second motion state by first motion state, further includes:
Judge whether lane locating for lane locating for the vehicle and the main body is same lane;
It is changed to according to the preset control parameters control interaction agent by first motion state if it is, triggering is described The step of second motion state, so that static interaction agent lane locating for the main body to be changed to locating for the vehicle On lane.
6. drive simulating exchange method according to claim 1, which is characterized in that the determination interaction agent and institute State the main end state driven, comprising:
Driven whether to be in contact the knot for determining that the interaction agent and the master are driven according to the interaction agent and the master Pencil state.
7. drive simulating exchange method according to any one of claims 1 to 6, which is characterized in that the determination friendship After the end state that mutual main body and the master drive, further includes:
The simulation test result of the subject is determined according to the end state and is exported.
8. a kind of drive simulating interactive device characterized by comprising
Module is obtained, for obtaining the first motion state of the main driving parameters and interaction agent driven;Wherein, the master drives The vehicle that vehicle is driven by subject;
Judgment module, for judging whether to reach preset trigger condition based on the driving parameters and first motion state;
Module is changed, if controlling the interaction agent according to preset control parameters for reaching the preset trigger condition Second motion state is changed to by first motion state, so as to the interaction agent under second motion state to institute Main former driving status of driving is stated to cause to hinder;
Determining module, the end state driven for determining the interaction agent and the master complete drive simulating interaction.
9. a kind of drive simulating interactive device characterized by comprising
Memory, for storing computer program;
Processor realizes the drive simulating interaction side as described in any one of claim 1 to 7 when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the drive simulating exchange method as described in any one of claim 1 to 7 when the computer program is executed by processor The step of.
CN201910865719.4A 2019-09-09 2019-09-09 Method, device and equipment for simulating driving interaction and storage medium Active CN110471535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865719.4A CN110471535B (en) 2019-09-09 2019-09-09 Method, device and equipment for simulating driving interaction and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865719.4A CN110471535B (en) 2019-09-09 2019-09-09 Method, device and equipment for simulating driving interaction and storage medium

Publications (2)

Publication Number Publication Date
CN110471535A true CN110471535A (en) 2019-11-19
CN110471535B CN110471535B (en) 2023-08-29

Family

ID=68515870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865719.4A Active CN110471535B (en) 2019-09-09 2019-09-09 Method, device and equipment for simulating driving interaction and storage medium

Country Status (1)

Country Link
CN (1) CN110471535B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487630A (en) * 2020-11-25 2021-03-12 新石器慧拓(北京)科技有限公司 Driving environment simulation method, device, system, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313740A1 (en) * 2010-06-16 2011-12-22 Fujitsu Limited Vehicle behavior estimation device
CN108230817A (en) * 2017-11-30 2018-06-29 商汤集团有限公司 Vehicle drive analogy method and device, electronic equipment, system, program and medium
CN108399820A (en) * 2018-05-22 2018-08-14 北京超弦科技有限公司 A kind of driving simulation system and drive simulating method
CN108665069A (en) * 2018-04-24 2018-10-16 东南大学 A kind of unexpected incidents trigger mechanism for unmanned vehicle training simulation
CN108766096A (en) * 2018-03-21 2018-11-06 武汉理工大学 A kind of automatic Pilot human-computer interaction emulation test system based on driving simulator
CN109900493A (en) * 2019-02-20 2019-06-18 苏州风图智能科技有限公司 Barrier analogy method and device in unmanned vehicle test scene

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313740A1 (en) * 2010-06-16 2011-12-22 Fujitsu Limited Vehicle behavior estimation device
CN108230817A (en) * 2017-11-30 2018-06-29 商汤集团有限公司 Vehicle drive analogy method and device, electronic equipment, system, program and medium
CN108766096A (en) * 2018-03-21 2018-11-06 武汉理工大学 A kind of automatic Pilot human-computer interaction emulation test system based on driving simulator
CN108665069A (en) * 2018-04-24 2018-10-16 东南大学 A kind of unexpected incidents trigger mechanism for unmanned vehicle training simulation
CN108399820A (en) * 2018-05-22 2018-08-14 北京超弦科技有限公司 A kind of driving simulation system and drive simulating method
CN109900493A (en) * 2019-02-20 2019-06-18 苏州风图智能科技有限公司 Barrier analogy method and device in unmanned vehicle test scene

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487630A (en) * 2020-11-25 2021-03-12 新石器慧拓(北京)科技有限公司 Driving environment simulation method, device, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN110471535B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
JP7153071B2 (en) Pedestrian Behavior Prediction for Autonomous Vehicles
US10593126B2 (en) Virtual space display system
JP7082246B2 (en) Operating autonomous vehicles according to road user reaction modeling with shielding
US20200410063A1 (en) Synthetic scenario simulator based on events
CN108230817A (en) Vehicle drive analogy method and device, electronic equipment, system, program and medium
CN110427682A (en) A kind of traffic scene simulation experiment platform and method based on virtual reality
CN101251958A (en) Method for implementing automobile driving analog machine facing to disciplinarian
CN106710358A (en) Operation precision simulation-based vehicle highly simulated operation system and model thereof
CN108319250A (en) Intelligent driving automobile test method
Chao et al. Force-based heterogeneous traffic simulation for autonomous vehicle testing
CN104820763B (en) A kind of traffic accident three-dimensional emulation method based on VISSIM
CN110197036A (en) Intelligent driving evaluating system and evaluating method
CN103218489B (en) A kind of method of simulating vehicle personalized driving characteristic based on video sample
CN108922307A (en) Drive simulating training method, device and driving simulation system
CN104778072B (en) A kind of vehicle and pedestrian's interactive simulation method for traffic mixed flow model
CN110471535A (en) A kind of drive simulating exchange method, device and equipment and storage medium
Krueger et al. SILAB-A task-oriented driving simulation
JP2008203913A (en) Traffic flow simulation apparatus
US20240160806A1 (en) Virtual test environment for a driving assistance system with road users modelled on game theory
Broadhurst et al. A prediction and planning framework for road safety analysis, obstacle avoidance and driver information
CN106570609A (en) Method for testing and evaluating dynamic risk perception ability of driver
JPH10108979A (en) Driving game machine and record medium storing driving game program
Tianwu et al. Virtual reality based independent travel training system for children with intellectual disability
Weaver The new driver's ED: Game developers teach Cruise's autonomous vehicles to understand gestures made by people on the street
CN115938106A (en) Automatic driving decision online verification method based on traffic participant accessibility analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant