我买了一个便宜的USB鼠标,想用Raspberry Pi读取位置信息。来自GPS鼠标的原始(串行)数据如下所示:
$GPRMC,130312.00,A,4751.29758,N,01208.72343,E,0.067,,140721,,,A*7E
$GPVTG,,T,,M,0.067,N,0.125,K,A*24
$GPGGA,130312.00,4751.29758,N,01208.72343,E,1,08,1.46,450.1,M,45.7,M,,*5F
$GPGSA,A,3,08,21,27,32,22,01,10,03,,,,,2.79,1.46,2.37*07
$GPGSV,