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