function squarePath(serPort)
% Robot moves along a path that forms a square
% serPort is the serial port number (for controlling the actual robot).

%%%% DO NOT MODIFY CODE ABOVE %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

travelDist(serPort, .3, 2) % Move .3m/s for +2m
% Speed in [.025,.5] meters/s
% Positive distance means move forward
% Negative distance means move backward

turnAngle(serPort, .2, 90) % Turn at .2rad/s for +90 degrees
% Speed in [.025,.2] radians/second
% Positive angle means counter-clockwise
% Negative angle means clockwise

travelDist(serPort, .3, 1)