📄 draw_ground.m
字号:
function draw_ground (ground),
%-------------------------------------------------------
% University of Zaragoza
% Centro Politecnico Superior
% Robotics and Real Time Group
% Authors: J. Neira, J. Tardos
% Date : 7-2004
%-------------------------------------------------------
%-------------------------------------------------------
global configuration;
figure(configuration.ground); clf; axis equal; hold on;
plot(ground.points(1,:), ground.points(2,:), 'r.');
trajectory(1).x = [0 0 0]';
trajectory(1).P = zeros(3, 3);
for step = 1 : length(ground.motion),
[trajectory(step+1).x, trajectory(step+1).P] = ...
ucomp(trajectory(step).x, trajectory(step).P, ...
ground.motion(step).x, zeros(3,3));
end
draw_trajectory (trajectory, 'r');
title(sprintf('GROUND TRUTH, features: %d', ground.n));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -