代码搜索:GPs 开发教程
找到约 10,000 项符合「GPs 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/282093/9119730
m opengps.m
function [gps, pid, version, text, protocols] = OpenGPS(port)
global pid_product_rqst
% Initialize global constants
constants;
%try
gps = serial(port);
www.eeworm.com/read/282093/9119741
m sendbeginpacket.m
function SendBeginPacket(gps, count)
% SENDBEGINPACKET Send the standard begin command packet
WritePacketHeader(gps, pid_records, 2)
fwrite(gps, count, 'int16');
WritePacketTerminator(gps);
www.eeworm.com/read/282093/9119755
m readtracks.m
function tracks = ReadTracks(gps)
% ReadTracks Read all the track data from the GPS
global pid_command_data cmd_transfer_trk pid_xfer_cmplt pid_trk_hdr
global pid_ack_byte pid_nak_byte pid_trk_da
www.eeworm.com/read/380755/9129701
m gpsmain.m
%主函数:输入为信噪比snr_in_dB,产生p1,p2
function [p1,p5]=GPSmain(snr_in_DB)
E=1;
G=[1 1 1 1 0 0 1;1 0 1 1 0 1 1];
% snr_in_DB=-4:0.5:10;
snr=10^(snr_in_DB/10);
sgma=sqrt((E/snr)/2);%噪声方差
N=1;%桢个数
N1=
www.eeworm.com/read/377796/9262421
makefile
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC = gps
OBJS = main.o gps.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(EXTRA_LIBS)
install:
$(EXEC)
www.eeworm.com/read/366276/9821780
h gpspointdlg.h
// GpsPointDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
#include "SetPoint.h"
#include "Draw.h"
#include "ccommdlg.h"
//}}AFX_INCLUDES
#if !defined(AFX_GPSPOINTDLG_H__224D97
www.eeworm.com/read/365346/9867423
m doy2jd.m
function jd=doy2jd(yr,doy);
% DOY2JD Converts year and day of year to Julian date.
% . Non-vectorized version. See also CAL2JD, GPS2JD,
% JD2CAL, JD2DOW, JD2DOY, JD2GPS, JD2YR, YR2JD.
% Version: 24
www.eeworm.com/read/365288/9870429
c main.c
/************************************************
* GPS read demo ,use com2
* by Zou jian guo
* 2004-10-22
*
*************************************************/
#include
www.eeworm.com/read/364159/9919766
c gpstools.c
// ----------------------------------------------------------------------------
// Copyright 2006-2007, Martin D. Flynn
// All rights reserved
// ------------------------------------------------------
www.eeworm.com/read/164586/10100506
m writepacket.m
function WritePacket(gps, id, data, type)
% WritePacket Write the a packet with the given id and data
% Since pid_dle_byte is used to delimit packet boundaries, if a data, size
% or checksum value