为了实现岸边集装箱起重机视景仿真系统中起重机、海洋和集装箱运输车的运动以及场景的驱动,首先根据岸边集装箱起重机工作过程确定场景驱动方案,基于Windows平台设置适合编译Vega应用程序的编译环境,应用Lynx界面进行系统初始化,在VC++中调用Vega库函数编程,实现场景的漫游,调用VegaPart类函数检测、获取及控制起重机DOF节点,实现起重机大车、小车运动,并结合岸边集装箱起重机的工作环境,通过Vega扩展模块和Path Tool工具,分别添加动态海洋和创建集卡运动路径,最终实现岸边集装箱起重机视景仿真系统中起重机和各运动体的驱动。
To realize movement and scenario driving for crane,marine and container carrier vehicles in the visual simulation system of the quayside container crane,the scenario driving scheme is determined first according to the working process of the crane,the compiler environment suitable for Vega application program is set based on Windows platform, and system initiation is made in the Lynx interface.Vega base function programming in VC++is called to realize the sce-nario roaming,and Vegapart function detection is called as well to obtain and control crane DOF nodes to simulate crane and trolley movements.The dynamic ocean is added and truck motion path is created through Vega expansion module and PathTool,based on the working environment of quayside container cranes,in order to finally drive the crane and other moving bodies in the simulation system for the quayside container crane.