代码搜索结果
找到约 10,000 项符合
PID 的代码
threeservos_init.m
function threeservos_init
% Task scheduling and control.
%
% This example extends the simple PID control example (located in
% $DIR/examples/simple_pid) to the case of three PID-tasks running
% concu
motorctrl.c
//*****************************************************************************
// File Name : pid.c
//
// Title : test pid implementation
// Revision : 1.1
// Notes :
// Target MCU : Atmel
motorctrl.c
//*****************************************************************************
// File Name : pid.c
//
// Title : test pid implementation
// Revision : 1.1
// Notes :
// Target MCU : Atmel
motorctrl.c
//*****************************************************************************
// File Name : pid.c
//
// Title : test pid implementation
// Revision : 1.1
// Notes :
// Target MCU : Atmel
motorctrl.c
//*****************************************************************************
// File Name : pid.c
//
// Title : test pid implementation
// Revision : 1.1
// Notes :
// Target MCU : Atmel
motorctrl.c
//*****************************************************************************
// File Name : pid.c
//
// Title : test pid implementation
// Revision : 1.1
// Notes :
// Target MCU : Atmel
space.c
/*2,3,01位置控制,工作空间展示,正反转只需改动pid->position-=pid->v,pid->mposition=(pid->count+65536*(pid->overflow)-1000)的65536的加号*/
#include"regs2407.h"
#include"math.h"
/*#include"stdio.h"*/
#define accel 1
#
上传.txt
1.(若知道进程号,那么可以通过HASH 表很快地找到该进程)查找函数
static inline struct task_struct *find_task_by_pid(int pid)
struct task_struct*p,**htable=&[pid_hashfn(pid)];for(p=*htable;p&&p->pid!=;p=p->pidhash_next);return
space.c
/*2,3,01位置控制,工作空间展示,正反转只需改动pid->position-=pid->v,pid->mposition=(pid->count+65536*(pid->overflow)-1000)的65536的加号*/
#include"regs2407.h"
#include"math.h"
/*#include"stdio.h"*/
#define accel 1
#
k60-keil
..\Out\pid.o: ..\common\PID.c
..\Out\pid.o: ..\StartUp\MK60N512MD100.h
..\Out\pid.o: D:\Program Files\Keil\ARM\CMSIS\Include\core_cm4.h
..\Out\pid.o: D:\Program Files\Keil\ARM\RV31\Inc\stdint.h
..