public void keyPressed() {
   if (key == '-') {
     sceneZoom -= sceneStep;
   }
   if (key == '+') {
     sceneZoom += sceneStep;
   }
   if (key == ' ' || key == 'q') {
     System.out.println("SAFE!!!");
     controlGroup.safeDrone();
     markerControlled.setInAir(false);
   }
   if (key == 's') {
     controlGroup.stop();
   }
   if (key == 't') {
     controlGroup.takeOff();
     markerControlled.setInAir(true);
   }
 }
  public void setup() {
    size(w, h, P3D);
    frameRate(20);
    // Listener of OSC messages, comming from OSCeleton
    oscListener = new OscListener(this);
    // Adding drones in this group
    // addARDrones(controlGroup, 2);
    // ARDrone drone1 = new ARDrone("192.168.0.3");
    // ARDrone drone2 = new ARDrone("192.168.0.4");
    // controlGroup.addArdrone(drone1, 0);
    // controlGroup.addArdrone(drone2, 1);
    controlGroup.addArdrone(new ARDrone("192.168.1.1"), 0);
    controlGroup.connect();
    controlGroup.setMaxAltitude(3000);

    // controller = new HandsController(this);
    // commandsRight = new CommandsStatus(this, controlGroup.getARDrone(0),
    // -1);
    // videoRight = new VideoDrone(this, controlGroup.getARDrone(0), -1);
    commandsLeft = new CommandsStatus(this, controlGroup.getARDrone(0), 1);
    markerControlled = new MarkerController(this, controlGroup.getARDrone(0), 1);
    // videoLeft = new VideoDrone(this, controlGroup.getARDrone(1), 1);

  }
 public void addARDrones(ArdroneGroup group, int nb) {
   for (int i = 3; i < nb + 3; i++) {
     ARDrone drone = new ARDrone(IP_ADDRESS_MASK + i);
     group.addArdrone(drone, i - 3);
   }
 }