登录
首页 » 卫星定位系统 » 我在学习GPS编程时写的DELPHI源码 ,比较简单.希望大虾不要见笑.多多指教.

我在学习GPS编程时写的DELPHI源码 ,比较简单.希望大虾不要见笑.多多指教.

于 2023-01-18 发布 文件大小:203.79 kB
0 193
下载积分: 2 下载次数: 1

代码说明:

procedure TfrmMain.DrawSatInfo(gps: TGPSInfo; pbx: TPaintBox); var   i: integer;   r: integer;   dx,dy: integer; begin   r := pbx.Width div 2;   for i:= 1 to 12 do begin     if gps.SatInfo[i].PRN 0 then begin       dx := r + Round(r*(90-gps.SatInfo[i].EL)*sin((gps.SatInfo[i].AZ - 90)*Pi/180)/90);       dy := r + Round(r*(90-gps.SatInfo[i].EL)*cos((gps.SatInfo[i].AZ - 90)*Pi/180)/90);       dx := dx - 8;       if dx < 0 then dx := 0;       if gps.SatInfo[i].SN > 20 then begin         pbx.Canvas.Font.Color := clBlue;         pbx.Canvas.TextOut(dx,dy,inttostr(gps.SatInfo[i].PRN));       end else begin

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Rinex格式读写源代码C
    压缩文件中主要包含了读写Rinex O文件和Rinex N文件的C代码,代码运行流畅,读取速度快,代码已通过编译,并且已测试通过。欢迎大家下载使用!
    2023-04-17 07:40:03下载
    积分:1
  • gps in the CA code in matlab environment to compile generated
    gps中CA码在matlab环境下编译产生-gps in the CA code in matlab environment to compile generated
    2022-07-08 08:09:41下载
    积分:1
  • 这个应该是台湾的一个文章,GPS相关MATLAB
    这个应该是台湾的一个文章,GPS相关MATLAB-this should be an article in Taiwan, GPS related MATLAB
    2022-01-23 10:56:26下载
    积分:1
  • 介绍VB下MAPX实现的二次搜索查询,MapX+VB的源代码和结果图形界面...
    介绍VB下MAPX实现的二次搜索查询,MapX+VB的源代码和结果图形界面-introduced VB Connection"s secondary search query, MapX VB source code and the results of a graphical interface
    2022-07-26 19:02:05下载
    积分:1
  • GPS精密历读取
    精密星历是按照15min的间隔给出卫星位置,要想获取任意时刻卫星的位置,必须对精密星历进行内插,本程序实现了通过读取SP3文件,对卫星的星历进行内插计算。
    2022-02-06 23:16:15下载
    积分:1
  • GBT_18314-2001全球(GPS)规范
    GBT_18314-2001全球定位系统(GPS)规范  GBT_18314-2001 global positioning system (GPS) specification
    2022-08-12 22:08:47下载
    积分:1
  • Fortran矩阵求逆简单高效程序
    !  Description : 计算逆矩阵 !     !----------------------------------------------------- !  Contains    : !      1.   driver  驱动函数 !      2.   solve   方法函数  已经经过验证,高效简洁
    2022-02-03 20:19:18下载
    积分:1
  • GPS接收机的GPS仪for ambicom港
    GPS port finder for Ambicom GPS receivers
    2023-08-22 15:10:03下载
    积分:1
  • android gps jni源码
    android gps jni源码函数调用了hw_get_module加载硬件适配模块.so文件,接着通过hw_device_t接口调用open()函数,实际执行了gps/loc_api/libloc_api/gps.c定义的open_gps函数,然后调用gps_device_t接口的get_gps_interface函数,此函数也是在gps.c中定义的,最后返回HAL层中loc_eng.cpp文件的sLocEngInterface,从而打通了上层到底层的通道。
    2022-07-04 08:53:33下载
    积分:1
  • GPS 单点程序
    GPS单点定位程序,可实现卫星坐标计算,地面点坐标计算,精度指标计算和输出到Excel。
    2022-06-29 08:24:52下载
    积分:1
  • 696516资源总数
  • 106462会员总数
  • 0今日下载