人工势场法路径规划是由Khatib提出的一种虚拟力法(OussamaKhatib,Real-TimeobstacleAvoidanceforManipulatorsandMobileRobots.ProcofThe1994IEEE.)。
它的基本思想是将机器人在周围环境中的运动,设计成一种笼统的人造引力场中的运动,目标点对移动机器人产生"引力",障碍物对移动机器人产生"斥力",最后通过求合力来控制移动机器人的运动。
应用势场法规划出来的路径一般是比较平滑并且安全,但是这种方法存在局部最优点问题
2017/10/11 15:29:50 2.92MB 机器人
1
N=512;A=zeros(N,N);B=zeros(N,N);forI=1:1:256J=1:1:256ImageNum=double(Image(I,J,1));A(I,J)=ImageNum/255;B(I,J)=0;endendfigure;imshow(A);pi=3.1415926;forI=1:1:NforJ=1:1:NR=rand(1,1);%生成一个元素在0,1之间均匀分布的随机矩阵RB(I,J)=A(I,J)*sin(R*2*pi);%平滑函数的傅里叶变换谱A(I,J)=A(I,J)*cos(R*2*pi);F(I,J)=A(I,J)+j*B(I,J);endEnd%限制振幅的动态范围,进步编码的精度F=fft2(F);%作二维快速傅里叶变换FFTMax=max(max(abs(F)));F=F/Max;A=real(F);B=imag(F);aIpha=0.5;%定义载波参数aIphaforI=1:1:NforJ=1:1:NXcos=(J-1)/127;A1(I,J)=cos(2*pi*aIpha*Xcos);B1(I,J)=sin(2*pi*aIpha*Xcos);endend%全息图数据区forI=1:1:NforJ=1:1:NHoIodata(I,J)=0.5+0.5*(A(I,J)*A1(I,J)+B(I,J)*B1(I,J));endEndM=512;N=512;%定义全息图的大小Hologram=zeros(M,M);S=M/N;%定义每个抽样单元大小forI=1:1:NforJ=1:1:NXa=(J-1)*S+1;Xb=J*S;Ya=(I-1)*S+1;Yb=I*S;forIx=Xa:1:XbforIy=Ya:1:YbHoIogram(Iy,Ix)=HoIodata(I,J);endendendendMax=max(max(HoIogram));HoIogram=HoIogram/Max;figure;imshow(HoIogram);%以下是用matlab分别计算函数各抽样点的傅里叶变换谱的幅角与模,并对各点的模归一化object=fft2(HoIogram);object=fftshift(object);%用matlab中的移谱函数fftshift()将频谱的低频成分移到中心,以避免再现时像分散在边缘object=abs(object);object=1000*object/max(max(object));figure;imshow(object);
2019/5/1 5:12:10 973B 数字全息
1
N=512;A=zeros(N,N);B=zeros(N,N);forI=1:1:256J=1:1:256ImageNum=double(Image(I,J,1));A(I,J)=ImageNum/255;B(I,J)=0;endendfigure;imshow(A);pi=3.1415926;forI=1:1:NforJ=1:1:NR=rand(1,1);%生成一个元素在0,1之间均匀分布的随机矩阵RB(I,J)=A(I,J)*sin(R*2*pi);%平滑函数的傅里叶变换谱A(I,J)=A(I,J)*cos(R*2*pi);F(I,J)=A(I,J)+j*B(I,J);endEnd%限制振幅的动态范围,进步编码的精度F=fft2(F);%作二维快速傅里叶变换FFTMax=max(max(abs(F)));F=F/Max;A=real(F);B=imag(F);aIpha=0.5;%定义载波参数aIphaforI=1:1:NforJ=1:1:NXcos=(J-1)/127;A1(I,J)=cos(2*pi*aIpha*Xcos);B1(I,J)=sin(2*pi*aIpha*Xcos);endend%全息图数据区forI=1:1:NforJ=1:1:NHoIodata(I,J)=0.5+0.5*(A(I,J)*A1(I,J)+B(I,J)*B1(I,J));endEndM=512;N=512;%定义全息图的大小Hologram=zeros(M,M);S=M/N;%定义每个抽样单元大小forI=1:1:NforJ=1:1:NXa=(J-1)*S+1;Xb=J*S;Ya=(I-1)*S+1;Yb=I*S;forIx=Xa:1:XbforIy=Ya:1:YbHoIogram(Iy,Ix)=HoIodata(I,J);endendendendMax=max(max(HoIogram));HoIogram=HoIogram/Max;figure;imshow(HoIogram);%以下是用matlab分别计算函数各抽样点的傅里叶变换谱的幅角与模,并对各点的模归一化object=fft2(HoIogram);object=fftshift(object);%用matlab中的移谱函数fftshift()将频谱的低频成分移到中心,以避免再现时像分散在边缘object=abs(object);object=1000*object/max(max(object));figure;imshow(object);
2017/1/5 5:10:15 973B 数字全息
1
unity图像人脸画面视觉识别零碎插件OpenCVforUnity2.3.4所支持的Unity版本:5.6.6及以上版本WorkswithUnityCloudBuildiOS&AndroidsupportWindows10UWPsupportWebGLsupportWin&Mac&LinuxStandalonesupportPreviewsupportintheEditorOpenCVforUnityisanAssetsPluginforusingOpenCV4.0.0fromwithinUnity.Features:-SincethispackageisacloneofOpenCVJava,youareabletousethesameAPIasOpenCVJava4.0.0(link).-Youcanimageprocessinginreal-timebyusingtheWebCamTexturecapabilitiesofUnity.(real-timefacedetectionworkssmoothlyoniPhone5)-ProvidesamethodtointerconversionofUnity'sTexture2DandOpenCV'sMat.-IDisposableisimplementedinmanyclasses.Youcanmanagetheresourceswiththe“using”statement.-Examplesofintegrationwithotherpublisherassetsareavailable.(e.g.PlayMaker,NatCam,NatCorder)ExampleCodeusingOpenCVforUnityisavailable.MarkerBasedARExampleMarkerLessARExampleFaceTrackerExampleFaceSwapperExampleFaceMaskExampleRealTimeFaceRecognitionExampleGoogleVRwithOpenCVforUnityExampleKinectwithOpenCVforUnityExampleAVProwithOpenCVforUnityExampleHoloLenswithOpenCVforUnityExamplePlayMakerActionsforOpenCVforUnityNatCamwithOpenCVForUnityExampleNatCorderwithOpenCVForUnityExampleMagicLeapwithOpenCVForUnityExample
2017/11/10 11:35:23 66B OpenCV Unity OpenCV for
1
Digitaltechnologyhasnotonlyrevolutionizedthewaydesignerswork,butalsothekindsofdesignstheyproduce.Thedevelopmentofthecomputerasadesignenvironmenthasencouragedanewbreedofdigitaldesigner;keentoexploretheuniquecreativepotentialofthecomputerasaninput/outputdevice.Data-drivenGraphicDesignintroducesthecreativepotentialofcomputationaldataandhowitcanbeusedtoinformandcreateeverythingfromtypography,printandmovinggraphicstointeractivedesignandphysicalinstallations.Usingcodeasacreativeenvironmentallowsdesignerstostepoutsidetheboundariesofco妹妹ercialsoftwaretools,andcreateasetofunique,digitallyinformedpiecesofwork.Theuseofcodeoffersanewwayofthinkingaboutandcreatingdesignforthedigitalenvironment.Eachchapteroutlineskeyconceptsandtechniques,beforeexploringarangeofinnovativeprojectsthroughcasestudiesandinterviewswiththeartistsanddesignerswhocreatedthem.Theseprovideaninspirational,real-worldcontextforeverytechnique.FinallyeachchapterconcludeswithaCodesection,guidingyouthroughtheprocessofexperimentingwitheachtechniqueyourself(withsampleprojectsandcodeexamplesusingthepopularProcessinglanguagesuppliedonlinetogetyoustarted).
2016/11/13 21:51:25 34MB 数据驱动 data-driven 可视化
1
RealTimeRendering4thEdition高清版,带目次。
2020/8/2 1:26:51 28.59MB render
1
☆资源说明:☆[ManningPublications]Gradle实战(英文版)[ManningPublications]GradleinAction(E-Book)☆图书概要:☆GradleinActionisacomprehensiveguidetoend-to-endprojectautomationwithGradle.Startingwiththebasics,thispractical,easy-to-readbookdiscusseshowtobuildafull-fledged,real-worldproject.Alongtheway,ittouchesonadvancedtopicsliketesting,continuousintegration,andmonitoringcodequality.You'llalsoexploretaskslikesettingupyourtargetenvironmentanddeployingyoursoftware.☆出版信息:☆[作者信息]BenjaminMuschko[出版机构]ManningPublications[出版日期]2014年03月09日[图书页数]480页[图书言语]英语[图书格式]PDF格式
2020/5/24 6:43:14 9.26MB Gradle
1
设计思想(1)程序主体结构部分:说明部分%%规则部分%%辅助程序部分(2)主体结构的说明在这里说明部分告诉我们使用的LETTER,DIGIT,IDENT(标识符,通常定义为字母开头的字母数字串)和STR(字符串常量,通常定义为双引号括起来的一串字符)是什么意思.这部分也可以包含一些初始化代码.例如用#include来使用标准的头文件和前向说明(forward,references).这些代码应该再标记"%{"和"%}"之间;规则部分>可以包括任何你想用来分析的代码;我们这里包括了忽略所有注释中字符的功能,传送ID名称和字符串常量内容到主调函数和main函数的功能.(3)实现原理程序中先判断这个句语句中每个单元为关键字、常数、运算符、界符,对与不同的单词符号给出不同编码方式的编码,用以区分之。
PL/0语言的EBNF表示::==;::=={|};::=+|-::=*|/::==|#|=::=a|b|…|X|Y|Z::=0|1|2|…|8|9三:设计过程1.关键字:void,main,if,then,break,int,Char,float,include,for,while,printfscanf并为小写。
2."+”;”-”;”*”;”/”;”:=“;”:”;”=“;”“;”=“;”(“;”)”;”;”;”#”为运算符。
3.其他标记如字符串,表示以字母开头的标识符。
4.空格符跳过。
5.各符号对应种别码关键字分别对应1-13运算符分别对应401-418,501-513。
字符串对应100常量对应200结束符#四:举例说明目标:实现对常量的判别代码:digit[0-9]letter[A-Za-z]other_char[!-@\[-~]id({letter}|[_])({letter}|{digit}|[_])*string{({letter}|{digit}|{other_char})+}int_num{digit}+%%[|\t|\n]+"auto"|"double"|"int"|"struct"|"break"|"else"|"long"|"switch"|"case"|"enum"|"register"|"typedef"|"char"|"extern"|"return"|"union"|"const"|"float"|"short"|"unsigned"|"continue"|"for"|"signed"|"void"|"default"|"goto"|"sizeof"|"do"|"if"|"static"|"while"|"main"{Upper(yytext,yyleng);printf("%s,NULL\n",yytext);}\"([!-~])*\"{printf("CONST_string,%s\n",yytext);}-?{int_num}[.]{int_num}?([E][+|-]?{int_num})?{printf("CONST_real,%s\n",yytext);}"0x"?{int_num}{printf("CONST_int,%s\n",yytext);}","|";"|"("|")"|"{"|"}"|"["|"]"|"->"|"."|"!"|"~"|"++"|"--"|"*"|"&"|"sizeof"|"/"|"%"|"+"|"-"|">"|"="|">="|"<<="|"&="|"^="|"|="|"="{printf("%s,NULL\n",yytext);}{id}{printf("ID,%s\n",yytext);}{digit}({letter})+{printf("error1:%s\n",yytext);}%%#includeUpper(char*s,intl){inti;for(i=0;i<l;i++){s[i]=toupper(s[i])
2021/11/7 5:50:07 105KB 词法分析器制作
1
Real-TimeDesignPatterns-RobustScalableArchitectureforReal-Time
2018/10/1 4:43:58 13.97MB Real-Time Design Patterns
1
编译原理实验,目的把用户输入的代码转化成汇编语言的代码。
一个简单的编译器的实现。
次要采用算符优先的算法。
开发环境VS2013,语言C++在BYYL.cpp中的读取文件路径中添加案例,如在a.txt中写上programtestvara:real;varb:bool;beginwhileA<CandB<DdoifA=1thenC:=C+1elsewhileA<=DdoA:=A*2;B:=A+C+D+(-2)end
2020/11/16 14:20:05 5.3MB 编译 算符优先 语法分析 语义分析
1
共 55 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡