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

yrate=d2ydt2(vr,vl,theta0,t,b)
%% Author: epokh
%% Website: www.epokh.org/drupy
%% This software is under GPL

function yrate=d2ydt2(vr,vl,theta0,t,b)
%% This function calculate the drift rate from center line (x axis)
    yrate=(vr+vl)*(vr-vl)*cos((vr-vl)*t/b+theta0);
end

Contact us at files@mathworks.com