📄 reset.m.svn-base
字号:
function [ePic] = reset(ePic, propName)
% RESET - reset a ePic counter or value
%
% [ePic] = reset(ePic, propName)
%
% Results :
% ePic : updated ePicKernel object
%
% Parameters :
% ePic : ePicKernel object
% propName :
% 'odom' : reset odometry
switch propName
% Access to ePic values
case 'odom'
ePic.value.odom = zeros(1,3);
ePic.updated.odom = 0;
ePic.param.odomIni = 0;
otherwise
error([propName,' Is not a valid asset property'])
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -