display.m

来自「it is a matlab file foe develop SLAM loc」· M 代码 · 共 42 行

M
42
字号
%DISPLAY Display method for map object.%   DISPLAY(M) displays the map object M.%% See also MAP.% v.1.0, Nov. 2003, Kai Arras, CAS-KTHfunction display(m);disp(['Map "', m.name,'":']);disp(sprintf(' time = %d', m.timestamp));% display robot information first, assuming% a single robot per mapnF = length(m.X);i = 1;found = 0;while (i <= nF) & ~found,  if isa(m.X{i},'robotdd'),    found = 1;    irobot = i;  end;  i = i + 1;end;if found,  disp('Robot:');  display(m.X{irobot});else  disp('No robot');end;% display feature informationif ((~found & (nF > 0)) | (found & (nF > 1))),  disp('Features:');  for i = 1:nF,    if ~found | (i ~= irobot),      display(m.X{i});    end;  end;else  disp('No features');end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?