摘要
设计一套基于多线程技术的GPS罗盘数据采集和处理系统,给出GPS姿态测量原理及相关通信协议,在此基础上以SDI-COMPASS为例,采用Win32的API通信函数实现GPS罗盘和PC机之间多线程、非阻塞的串口通信。静态和动态实验表明,该系统可以快速、准确地采集和处理GPS罗盘数据,具有很高的稳定性和灵活性。
A Global Positioning System(GPS) compass data acquisition and processing system based on multi-thread technology is designed.This paper describes the principle of GPS attitude determination and related communication protocol.With the example of the SDI-COMPASS,a solution based on the API communication function of Win32 is realized,which achieves the multi-thread and overlapped I/O communication between GPS compass and PC via serial port.The static and dynamic experiments show that the system is capable of gathering and processing GPS compass data quickly and correctly,and performs with high stability and flexibility.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第15期219-221,共3页
Computer Engineering
基金
国家"863"计划基金资助项目(2006AA12Z313)
关键词
全球定位系统
多线程
串口通信
数据处理
Global Positioning System(GPS)
multi-thread
serial communication
data processing