⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reset.m.svn-base

📁 这是一个用来控制机器人ePuck的matlab GUI.通过它
💻 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 + -