最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

【無(wú)人機(jī)導(dǎo)航】復(fù)雜環(huán)境下的無(wú)人機(jī)編隊(duì)路徑規(guī)劃matlab源碼

2021-08-16 00:12 作者:Matlab工程師  | 我要投稿




clear; matlabrc; clc; close all; addpath(genpath('controllers')) addpath(genpath('dynamics')) addpath(genpath('tools')) % Initial Control gains: k_ria = 20; ?%(inter-agent position) k_via = .26; ?%(inter-agent velocities) k_rvl = .5; %(virtual-leader position) k_vvl = .25; ?%(virtual-leader velocity) k_obs = 10; ? %(obstacle position) exp = 4; gains = [k_ria,k_via,k_rvl,k_vvl,k_obs]'; % Optimize: options = optimoptions('fmincon','FiniteDifferenceStepSize',1e-1); % A = [4 0 0 0 30/31.5]; % b = 0; A =[]; b = []; Aeq = []; beq = []; lb = [0 0 0 0 0]; ub = []; x = fmincon(@simulate, gains, A,b,Aeq,beq,lb,ub,[], options); %% gains = x; [ts, total_error, broke] = simulate_dev(gains,1); total_error(total_error == 0) = []; dt = 1e-1; num_steps = length(total_error); tfinal = num_steps*dt; tspan = dt:dt:tfinal; %% figure() plot(tspan,total_error); hold on xlabel('Time (sec)') ylabel('Total Error') yl = ylim; plot([broke broke],[yl(1) yl(2)],'--k')

?

?

?


【無(wú)人機(jī)導(dǎo)航】復(fù)雜環(huán)境下的無(wú)人機(jī)編隊(duì)路徑規(guī)劃matlab源碼的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
东阳市| 新宾| 米脂县| 双流县| 合阳县| 肃北| 柳州市| 札达县| 涞源县| 万安县| 铁岭县| 新巴尔虎右旗| 康乐县| 荆门市| 荣昌县| 汶川县| 西充县| 潮州市| 蕲春县| 博爱县| 大悟县| 五大连池市| 台中县| 溆浦县| 招远市| 舟曲县| 辽源市| 中西区| 吴川市| 五常市| 茂名市| 宿迁市| 岑溪市| 连云港市| 涟水县| 天等县| 准格尔旗| 比如县| 梁山县| 津南区| 潜江市|