代码搜索结果
找到约 10,000 项符合
PID 的代码
pipe_rw.c
#include
#include
#include
#include
#include
int main()
{
int pipe_fd[2];
pid_t pid;
char buf_r[100];
char* p_wbuf;
int r_num;
obj2.m
% Author: Housam Binous
% Dynamic and control of a tank using the genetic algorithm toolbox
% National Institute of Applied Sciences and Technology, Tunis, TUNISIA
% Email: binoushousam@yahoo
pipe_rw.c
#include
#include
#include
#include
#include
int main()
{
int pipe_fd[2];
pid_t pid;
char buf_r[100];
char* p_wbuf;
int r_num;
摘 要.txt
摘 要
本设计采用单片机(MC9S12DG128)作为智能小车的检测和控制核心。路径识别采用CMOS摄像头,车速检测采用红外对管和编码盘,由MOS管组成H桥来控制驱动电机正反转的快速切换,利用PWM技术控制小车的运动速度及运动方向。基于这些完备而可靠的硬件设计,还设计了一套<mark>PID</mark>优化算法,编写了全闭环运动控制程序,经反复测试,取得了较好的效果。
关键词:单片机 CMOS传感器 路径识别 ...
fork_2.c
/*父进程创建一个子进程,子进程下又创建一个子进程(fork),要养成良好的书写习惯*/
main()
{
int pid, child_id, child_id_two;
pid = getpid();
printf("process ID = %d\n", pid);
if((child_id=fork())== 0) /* 建立第一
main.i
/*电池充电电流大小设置函数
current_value------电流大小
pwm_initial_value----PWM控制占空比中ORC的初始值
电流由PID控制器控制PWM的占空比实现*/
unsigned int giADC_DataSave[10];
unsigned char time_20ms_ok;
unsigned char LCD_I_value[3]={0,0
pipe_rw.c
#include
#include
#include
#include
#include
int main()
{
int pipe_fd[2];
pid_t pid;
char buf_r[100];
char* p_wbuf;
int r_num;
debug.lkf
-z -q -c -m"./Debug/time.map" -o"./Debug/time.out" -stack0x400 -w -x -i"../../DSP281x_headers/include" -i"D:/CCStudio_v3.1/C2000/xdais/lib" -i"D:/CCStudio_v3.1/C2000/rtdx/lib" -i"D:/CCStudio_v3.1/c200
debug.lkf
-z -q -c -m"./Debug/time.map" -o"./Debug/time.out" -stack0x400 -w -x -i"../../DSP281x_headers/include" -i"D:/CCStudio_v3.1/C2000/xdais/lib" -i"D:/CCStudio_v3.1/C2000/rtdx/lib" -i"D:/CCStudio_v3.1/c200
pipe_rw.c
#include
#include
#include
#include
#include
#include
int main()
{
int pipe_fd[2];
pid_t pid;
char buf_r[100];
char*