📄 add_new_features.m
字号:
%-------------------------------------------------------
function map = add_new_features (map, observations, step, H),
%-------------------------------------------------------
prediction = predict_observations (map);
compatibility = compute_compatibility (prediction, observations);
new = find((H == 0) & (compatibility.AL == 0));
if nnz(new)
disp(['NEW: ' sprintf('%2d ', new)]);
map = add_features(map, observations, step, new);
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -