摘要
在飞行试验中,飞行器实时监控是保障飞行安全和提高工作效率的一个关键环节。为了直观地实时监控飞行器的位置姿态和工作状态,保证飞行器试飞安全,提出了基于OSG(Open Scene Graph)技术的飞行器三维实时监控软件设计方案。软件采用C++语言设计,读取飞行器的部件模型构建三维可视化飞行场景,通过TCP/IP协议与服务器完成数据交互,实时驱动飞行场景中模型运动,设计独立线程响应键盘和鼠标操作,采用场景漫游和模型选取技术,通过三维模型运动与数字显示相结合的方式,更加可视化地监控飞行器的飞行过程。利用模块化和多线程的设计思路,提高了软件的执行效率和可扩展性。目前该软件已成功应用到多个型号任务试飞中。实际应用效果表明,该监控软件具有良好的实时性、准确性、可靠性和人机交互功能,能够满足飞行器实时监控系统的要求。
Aircraft real-time monitoring is a key to guarantee the flight safety and improve the work efficiency in flight test. In order to monitor the position attitude and working condition in real-time of the aircraft intuitively and ensure the safety of the aircraft flight test, the program of 3D real-time monitoring software of aircraft based on OSG ( Open Scene Graph) is proposed. The software is designed u- sing C++ language. 3D visualization flight scene is constructed by reading aircraft models. The real-time receiving server data drives the motion of the models in the flight scene through the TCP/IP protocol. The keyboard and mouse operation is responsed by a separate thread. The technology of scene roaming and model selection is used and the mode of 36 model movement combined with digital display is applied to monitor the flight more visually. Using the design idea of modularization and multithreading improves the implementing effi- ciency and extendibility. Now the software has been successfully applied to plenty of type of tasks test. The actual practice shows that the monitoring software has good performance of real-time, accuracy, reliability and interactive and so on, and it can meet the requirements of aircraft real-time monitoring system.
出处
《计算机技术与发展》
2017年第4期21-24,共4页
Computer Technology and Development
基金
国防基础科研计划重点项目(A0520132031)
关键词
OSG
飞行器
实时监控
多线程
人机交互
OSG
aircraft
real-time monitoring
multi-thread
human-computer interaction