No BSD License  

Highlights from
Framework for differential steering vehicle

image thumbnail

Framework for differential steering vehicle

by

 

A framework for a differential steering vehicle controlled by a PID system tuned with a genetic algo

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


function DrawRobotPosition(position,bw)
%% This function draw a triangle representing the robot
%%
grid on;
hold on;
left_wheel_pos=LeftWheelLoc(position,bw);
right_wheel_pos=RightWheelLoc(position,bw);
nose_pos=NoseLocation(position,bw);
xpoints=[left_wheel_pos(1) right_wheel_pos(1) nose_pos(1)];
ypoints=[left_wheel_pos(2) right_wheel_pos(2) nose_pos(2)];
fill(xpoints,ypoints,'r');
hold off;
end


Contact us