| Military training is a routine of soldiers.Only by training a large number of tactics plans can we flexibly deal with all kinds of emergencies in actual combat.Due to the particularity of military training,the trainers can only train through "live ammunition" and "on-the-spot".This kind of training is limited by region and time,and it is difficult to perform,with high funds and low safety factor.Therefore,the traditional military training mode urgently needs new breakthroughs.In this context,this thesis proposes to introduce virtual reality technology and optical positioning technology into military training,establish an integrated simulation training system,restore the actual training scene to the greatest extent,and solve many problems existing in traditional training.In this thesis,we design and implement a distributed simulation confrontation training system.The specific work is as follows: 1)based on the distributed architecture of virtual engine,the simulation training system is designed and implemented.The system is mainly used for military confrontation simulation training,including the start and end of the war,character movement,collision detection,weapon shooting,casualty evaluation,training data acquisition and other functions.2)The intelligent decision control of virtual personnel is realized,including information perception,path navigation and behavior decision.Information perception adds human senses to virtual personnel through intelligent perception components,including "vision,hearing and touch";Path navigation uses heuristic A * path planning algorithm to find the optimal obstacle avoidance path for virtual personnel;Behavior decision uses behavior tree to realize intelligent decision behavior control of virtual personnel.3)This thesis introduces the concept of frame synchronization based on DVR,uses frame synchronization for peer-to-peer computing,reduces the amount of data synchronization,maintains the high precision and real-time of virtual training,and solves the load imbalance problem in distributed architecture.4)Combined with HTC vive wearable virtual reality device,a high immersion training environment is established to reduce the screen door effect and realize the smooth control of human posture data.5)Integrate the training data to complete the command and management system,analyze and count the collected training data,realize the visual command and management platform,and provide theoretical support for the commander to make command decisions and post-war recovery,including past situation management,real-time monitoring of combat training,statistical analysis of post-war data,weapon management,virtual scene management,VR equipment management User management and other functions.This system combines C/S architecture and B/S architecture.The client is developed based on Virtual Engine 4.Blueprint programming and C + + programming are used to make the development more convenient and fast.Netty is used to realize the high concurrency network server,HTC VIVE virtual reality suite is used as the interactive device,Vue.js lightweight framework is used at the front-end,and Websocket is used to realize the data stream push at the server end,ensure the real-time of data transmission.The research of this thesis makes the anti-terrorism special combat training more instant,convenient and diversified,provides support for special combat team members to quickly generate anti hijacking combat capability,and speeds up the construction process of military information.This system will become an important means to drill the tactics scheme and support the tactics evaluation. |