/* 2017 RoboPlay Video Competition
Division #:2
Video Title: [Robo Story] - Robot 04 a
Teacher Advisor: Matthew D Huffine
School Name: Academy for Academic Excellence
Student Names: [Karim Alkawass	, Jenive Arostegui, Janelle Bean, Austin Delahousie, Benjamin Fuller, Nicholas Galaviz, Sean Patrick Lauron, Tadhg   Nolan, Jessica Rogado, David Stanton, Noah Williams, Vivian Penatello, Matthew Martinez]
Code written by: [Karim Alkawass]
Purpose: [The robot, along with another, will play its part in a dance. There are also two other robots in the scene in 'Demo Mode' so they do not have any associated code]
*/ 
 
#include<linkbot.h>                             // linkbot directory
CLinkbotI robot;                                // identifies as a LinkbotI
 
double radius = 1.75;                           // identifies radius as a 'double' variable that is equal to 1.75
double trackwidth = 3.69;                       // identifies trackwidth as a 'double' variable that is equal to 3.69
 
robot.driveDistance(-12, radius);               // moves robot 12 inches backwards
robot.turnLeft(360, radius, trackwidth);        // turns robot left for 360 degrees
robot.driveDistance(12, radius);                // moves robot 12 inches forwards
robot.turnLeft(90, radius, trackwidth);         // turns robot left for 90 degrees
robot.driveDistance(6, radius);                 // moves robot 6 inches forwards
robot.turnLeft(180, radius, trackwidth);        // turns robot left for 180 degrees
robot.driveDistance(6, radius);                 // moves robot 6 inches forwards
robot.turnLeft(90, radius, trackwidth);         // turns robot left for 90 degrees