param_sim.m

来自「matlab con robot scara」· M 代码 · 共 16 行

M
16
字号
% Simulation and Virtual Reality Parameters

% Simulation Parameters
TS = 0.001;							% base sample rate [sec]
PWM_BL = 99;						% pwm value to detect backlash [%]

% simulation stops when TIME_STOP_SIM have passed after NXT SCARA stopped
TIME_STOP_SIM = 10 * 1e3;			% simulation stop threshold [msec]

% proportional gain to calculate pen height from pwm3 value
PEN_HEIGHT_VEC = 60 / (pwm3_pen * time_pwm3 * TS);
									
% Virtual Reality Parameters
TS_VR = 0.5;						% VRML refresh rate [sec]
ROT_AXIS_Y = [0, 1, 0];				% rotation axis along y axis

⌨️ 快捷键说明

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