代码搜索:PID
找到约 10,000 项符合「PID」的源代码
代码结果 10,000
www.eeworm.com/read/315110/13551522
h glibtop_server.h
/* $Id: glibtop_server.h,v 1.18 2003/12/23 10:44:33 hadess Exp $ */
/* Copyright (C) 1998-99 Martin Baulig
This file is part of LibGTop 1.0.
Contributed by Martin Baulig
www.eeworm.com/read/315013/13553965
m chap2_8f.m
%PID Controler Based on Ziegler-Nichols
clear all;
close all;
ts=0.25;
sys=tf(1,[10,2,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
axis('square'),zgrid('new');
figure(1);
rloc
www.eeworm.com/read/314179/13572535
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
www.eeworm.com/read/314179/13572541
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/314179/13572544
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/314179/13572548
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/312666/13606538
m chap2_8f.m
%PID Controler Based on Ziegler-Nichols
clear all;
close all;
ts=0.25;
sys=tf(1,[10,2,0]);
dsys=c2d(sys,ts,'z');
[num,den]=tfdata(dsys,'v');
axis('square'),zgrid('new');
figure(1);
rloc
www.eeworm.com/read/311774/13625963
c threadid.c
#include "apue.h"
#include
pthread_t ntid;
void
printids(const char *s)
{
pid_t pid;
pthread_t tid;
pid = getpid();
tid = pthread_self();
printf("%s pid %u tid %u (0x%x)\n", s, (u
www.eeworm.com/read/311774/13626067
c fork1.c
#include "apue.h"
int glob = 6; /* external variable in initialized data */
char buf[] = "a write to stdout\n";
int
main(void)
{
int var; /* automatic variable on the stack */
pid_t pid;
var
www.eeworm.com/read/311774/13626076
c shell1.c
#include "apue.h"
#include
int
main(void)
{
char buf[MAXLINE]; /* from apue.h */
pid_t pid;
int status;
printf("%% "); /* print prompt (printf requires %% to print %) */
while (fg