/** * Catroid: An on-device graphical programming language for Android devices * Copyright (C) 2010 Catroid development team * (<http://code.google.com/p/catroid/wiki/Credits>) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package at.tugraz.ist.droned; public final class DroneConsts { public static final boolean debug = true; public static final String SupportedDroneFirmwareVersion = "1.7.4"; // FLYING STATES public final class FlyingState { public static final int EMERGENCY = 0; public static final int INIT = 1; public static final int LANDED = 2; public static final int FLYING = 3; public static final int HOVERING = 4; public static final int TEST = 5; public static final int TRANS_TAKEOFF = 6; public static final int TRANS_GOTO_FIX = 7; public static final int LANDING = 8; } // FLYING MODES public final class FlyingMode { public static final int NORMAL = 0; public static final int HOVER_ON_TOP_OF_ROUNDEL = 1; public static final int FOLLOW_SHELL_TAG_YAW = 2; } // CAMERA ORIENTATION public final class CameraOrientation { public static final int HORI = 0; public static final int VERT = 1; public static final int HORI_SMALL_VERT = 2; public static final int LARGE_VERT_SMALL_HORI = 3; } // debug flags public static final String DroneLogTag = "Drone"; }