No BSD License  

Highlights from
differential steering control by single genetic PID

image thumbnail
from differential steering control by single genetic PID by Paolo Di Prodi
A framework for a differential steering vehicle controlled by a PID system tuned with a genetic algo

heading=NoseLocation(position,bw)
%% Author: epokh
%% Website: www.epokh.org/drupy
%% This software is under GPL

function heading=NoseLocation(position,bw)
        theta=position(3);
        hx = position(1) + bw/2 * cos(theta);
        hy = position(2) + bw/2 * sin(theta);
        heading=[hx,hy];
end

Contact us at files@mathworks.com