博文

解读GPS全球卫星导航定位系统(2006-05-08 17:58:00)

摘要: 全面解读GPS全球卫星导航定位系统   全球定位系统(Global Positioning System - GPS)是美国从本世纪70年代开始研制,历时20年,耗资200亿美元,于1994年全面建成,具有在海、陆、空进行全方位实时三维导航与定位能力的新一代卫星导航与定位系统。经近10年我国测绘等部门的使用表明,GPS以全天候、高精度、自动化、高效益等显著特点,赢得广大测绘工作者的信赖,并成功地应用于大地测量、工程测量、航空摄影测量、运载工具导航和管制、地壳运动监测、工程变形监测、资源勘察、地球动力学等多种学科,从而给测绘领域带来一场深刻的技术革命。随着全球定位系统的不断改进,硬、软件的不断完善,应用领域正在不断地开拓,目前已遍及国民经济各种部门,并开始逐步深入人们的日常生活。   1       GPS系统的特点 1)        全球,全天候工作 能为用户提供连续,实时的三维位置,三维速度和精密时间。不受天气的影响。 2)        定位精度高 单机定位精度优于10米,采用差分定位,精度可达厘米级和毫米级。 3)        功能多,应用广 随着人们对GPS认识的加深,GPS不仅在测量,导航,测速,测时等方面得到更广泛的应用,而且其应用领域不断扩大。 2       GPS的发展 在卫星定位系统出现之前,远程导航与定位主要用无线导航系统。 1)        无线电导航系统 罗兰--C:工作在100KHZ,由三个地面导航台组成,导航工作区域2000KM,一般精度200-300M。 Omega(奥米茄):工作在十几千赫。由八个地面导航台组成,可覆盖全球。精度几英里。 多卜勒系统:利用多卜勒频移原理,通过测量其频移得到运动物参数(地速和偏流角),推算出飞行器位置,属自备式航位推算系统。误差随航程......

阅读全文(1204) | 评论:1

看了别流口水!(2006-05-08 17:55:00)

摘要:   ......

阅读全文(1257) | 评论:0

检查设备(2006-05-08 17:43:00)

摘要: 函数名: biosequip 功  能: 检查设备 用  法: int biosequip(void); 程序例: #include <bios.h> #include <stdio.h> int main(void) {    int result;    char buffer[512];    printf("Testing to see if drive a: is ready\n");    result = biosdisk(4,0,0,0,0,1,buffer);    result &= 0x02;    (result) ? (printf("Drive A: Ready\n")) :        (printf("Drive A: Not Ready\n"));    return 0; } ......

阅读全文(1569) | 评论:0

计算复数的绝对值(2006-05-08 17:41:00)

摘要: 函数名: cabs 功  能: 计算复数的绝对值 用  法: double cabs(struct complex z); 程序例: #include <stdio.h> #include <math.h> int main(void) {    struct complex z;    double val;    z.x = 2.0;    z.y = 1.0;    val = cabs(z);    printf("The absolute value of %.2lfi %.2lfj is %.2lf", z.x, z.y, val);    return 0; } ......

阅读全文(1846) | 评论:0

十进制转化成二进制(2006-05-08 17:39:00)

摘要:#include"stdio.h"#define N 100void main(){ int i,x,k=0,r,b[N]; printf("input x (10jinzhi):  "); scanf("%d",&x); do {  r=x%2;  b[k++]=r;  x/=2; }while(x); printf("output b(2jinzhi)\n\t"); for(i=k-1;i>=0;i--)  printf("%d",b[i]); printf("\n");}......

阅读全文(1623) | 评论:0

注册终止函数(2006-05-08 17:26:00)

摘要:函数名: atexit 功  能: 注册终止函数 用  法: int atexit(atexit_t func); 程序例: #include <stdio.h> #include <stdlib.h> void exit_fn1(void) {    printf("Exit function #1 called\n"); } void exit_fn2(void) {    printf("Exit function #2 called\n"); } int main(void) {    /* post exit function #1 */    atexit(exit_fn1);    /* post exit function #2 */    atexit(exit_fn2);    return 0;......

阅读全文(1593) | 评论:0

在给定半径以(x, y)为圆心画圆(2006-05-08 17:24:00)

摘要: 函数名: circle 功  能: 在给定半径以(x, y)为圆心画圆 用  法: void far circle(int x, int y, int radius); 程序例: #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> int main(void) {    /* request auto detection */    int gdriver = DETECT, gmode, errorcode;    int midx, midy;    int radius = 100;    /* initialize graphics and local variables */    initgraph(&gdriver, &gmode, "");    /* read result of initialization */    errorcode = graphresult();    if (errorcode != grOk)  /* an error occurred */    {       printf("Graphics error: %s\n", grapherrormsg(errorcode));       printf("Press any key to halt:");       getch();       exit(1); /* terminate with an error code */    }    midx = getmaxx() / 2;  &nbs......

阅读全文(2430) | 评论:0

写字符到屏幕(2006-05-08 17:23:00)

摘要:函数名: cputs 功  能: 写字符到屏幕 用  法: void cputs(const char *string); 程序例: #include <conio.h> int main(void) {    /* clear the screen */    clrscr();    /* create a text window */    window(10, 10, 80, 25);    /* output some text in the window */    cputs("This is within the window\r\n");    /* wait for a key */    getch();    return 0; {......

阅读全文(2130) | 评论:0

查找数据(2006-05-08 17:21:00)

摘要:#include<stdio.h>main(){int i,j=1,x,a[15]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};scanf("%d",&x);for(i=0;i<15;i++)if(x==a[i]){printf("%d",i);j=0;}if(j)printf("无此数");}......

阅读全文(1108) | 评论:0

逆序排列(2006-05-08 17:19:00)

摘要:#include<stdio.h>main(){int i,a[8];for(i=0;i<8;i++)scanf("%d",&a[i]);for(i=7;i>=0;i--)printf("%d ",a[i]);}......

阅读全文(1854) | 评论:0