Score
0
Watch 6 Star 16 Fork 5

Nrush / EKF_SLAMMatlabMIT

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
gen_trajectory2d.m 285 Bytes
Copy Edit Web IDE Raw Blame History
Nrush authored 2019-08-29 11:23 . init
function [ data ] = gen_trajectory2d( t )
% 根据时间产生运动轨迹
% t - step
% data - 产生的 x y
% radius = 1;
% data = [cos(radius*t)+cos(2*t*radius);4*sin(radius*t)+4*sin(t*radius)];
% data = data + 16;
radius = 40;
data = [radius*cos(t);radius*sin(t)];
data = data + radius+6;
end

Comment ( 0 )

Sign in for post a comment