 #include <AFMotor.h>
 #include <NewPing.h>
+#include <Servo.h> 
 
 #define runEvery(t) for (static typeof(t) _lasttime;\
                          (typeof(t))((typeof(t))millis() - _lasttime) > (t);\

  return result;
}

String forward(int speedInPercentage)
{
  if (speedInPercentage > 0)

    result = checkBatteryStatus(argument);
  } else if(command == "distance") {
    result = measureDistance(argument);
  } else if(command == "look") {
    result = lookDirection(argument);
  } else if(command == "forward") {
    result = forward(argument);
  } else if(command == "backward") {
