下载地址:
下载地址1(本站为飞网专业下载站,域名:down.cfei.net)
资源简介:
TI的经典速度PIDint PostionPid(POSTIONPID *postion){ long PostionE; int k0,k1,k2; int PostionE0; k0=postion->PostionKp*10+postion->PostionKi+postion->PostionKd; k1=postion->PostionKp*10+2*postion->PostionKd; k2=postion->PostionKd; PostionE=postion->PostionR-postion->PostionF; if (PostionE>32767) PostionE0=32767; else if (PostionE<-32768)PostionE0=-32768; else PostionE0=PostionE; postion->PostionU+=k0*PostionE0-k1*postion->PostionE1+k2*postion->PostionE2; postion->PostionE2=postion->PostionE1; posti
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。