Wiselib
wiselib.testing/config_testing.h
Go to the documentation of this file.
00001 /***************************************************************************
00002  ** This file is part of the generic algorithm library Wiselib.           **
00003  ** Copyright (C) 2008,2009 by the Wisebed (www.wisebed.eu) project.      **
00004  **                                                                       **
00005  ** The Wiselib is free software: you can redistribute it and/or modify   **
00006  ** it under the terms of the GNU Lesser General Public License as        **
00007  ** published by the Free Software Foundation, either version 3 of the    **
00008  ** License, or (at your option) any later version.                       **
00009  **                                                                       **
00010  ** The Wiselib is distributed in the hope that it will be useful,        **
00011  ** but WITHOUT ANY WARRANTY; without even the implied warranty of        **
00012  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         **
00013  ** GNU Lesser General Public License for more details.                   **
00014  **                                                                       **
00015  ** You should have received a copy of the GNU Lesser General Public      **
00016  ** License along with the Wiselib.                                       **
00017  ** If not, see <http://www.gnu.org/licenses/>.                           **
00018  ***************************************************************************/
00019 #ifndef __CONFIG_TESTING_H
00020 #define __CONFIG_TESTING_H
00021 
00022 // --------------------------------------------------------------------------
00023 // --------------------- External Interface ---------------------------------
00024 // --------------------------------------------------------------------------
00025 
00026 // ---------------- iSense --------------------------------------------------
00027 #define DEBUG_ISENSE_LIGHT_SENSOR
00028 
00029 // Add debug information when sending messages - if failed, a debug message
00030 // is printed (with the state passed in confirm())
00031 #define DEBUG_ISENSE_EXTENDED_TX_RADIO
00032 // Add random delay before sending a message. The delay is a value
00033 // 0..ISENSE_EXTENDED_TX_RADIO_RANDOM_DELAY_MAX in milliseconds.
00034 // #define ISENSE_EXTENDED_TX_RADIO_RANDOM_DELAY
00035 // #define ISENSE_EXTENDED_TX_RADIO_RANDOM_DELAY_MAX 10
00036 
00037 // --------------------------------------------------------------------------
00038 // --------------------- Algorithms -----------------------------------------
00039 // --------------------------------------------------------------------------
00040 
00041 // ---------------- Routing -------------------------------------------------
00042 // #define ROUTING_FLOODING_DEBUG
00043 #define ROUTING_STATIC_DEBUG
00044 
00045 // ---------------- Localization --------------------------------------------
00046 #define LOCALIZATION_DISTANCEBASED_DVHOP_DEBUG
00047 #define LOCALIZATION_DISTANCEBASED_SUMDIST_DEBUG
00048 #define LOCALIZATION_DISTANCEBASED_EUCLIDEAN_DEBUG
00049 
00050 #define LOCALIZATION_DISTANCEBASED_MINMAX_DEBUG
00051 #define LOCALIZATION_DISTANCEBASED_LATERATION_DEBUG
00052 
00053 // #define LOCALIZATION_DISTANCEBASED_ITER_LATERATION_DEBUG
00054 
00055 // --------------------------------------------------------------------------
00056 // --------------------- Util -----------------------------------------------
00057 // --------------------------------------------------------------------------
00058 
00059 // ---------------- Wisebed Node API ----------------------------------------
00060 
00061 #define UTIL_REMOTE_UART_DEBUG
00062 // #define VIRTUAL_RADIO_DEBUG
00063 
00064 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines