reset.m.svn-base
来自「这是一个用来控制机器人ePuck的matlab GUI.通过它」· SVN-BASE 代码 · 共 24 行
SVN-BASE
24 行
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 + =
减小字号Ctrl + -
显示快捷键?