📄 rightwheelloc.m
字号:
%% Author: epokh
%% Website: www.epokh.org/drupy
%% This software is under GPL
function rightpos=RightWheelLoc(position,bw)
%% This function calculate the right wheel position of the robot
theta=position(3);
rx=position(1)+bw/2*cos(theta-pi/2);
ry=position(2)+bw/2*sin(theta-pi/2);
rightpos=[rx,ry];
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -