/*************************************************************************** * Copyright (C) 2005 by TAKEUCHI Eijiro,,, * * * * 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 2 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, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #ifndef __NDT_TKU__ #define __NDT_TKU__ #include /*root cell size*/ /* #define MAP_CELLSIZE 0.2 //m #define MAP_X 128 #define MAP_Y 80 #define MAP_Z 48 */ //#define MAP_CELLSIZE 1.0 //m #define MAX_ND_NUM (20000000) // map origin// // meidai_map #if 0 #define MAP_CENTER_X (-18407.4 + 215) #define MAP_CENTER_Y (-93444.9 - 400) #define MAP_CENTER_Z 33 #define MAP_ROTATION 0.0 //map size #define MAP_X 1600 #define MAP_Y 1600 #define MAP_Z 200 #endif // meidai_map_all #if 0 #define MAP_CENTER_X (-18500) #define MAP_CENTER_Y (-93800) #define MAP_CENTER_Z 33 #define MAP_ROTATION 0.0 //map size #define MAP_X 2200 #define MAP_Y 2600 #define MAP_Z 200 #endif // moriyama_map #if 0 #define MAP_CENTER_X -15741 #define MAP_CENTER_Y -85697 #define MAP_CENTER_Z 70 #define MAP_ROTATION 0.7 //map size #define MAP_X 1600 #define MAP_Y 1600 #define MAP_Z 200 #endif // tctslc map #if 0 #define MAP_CENTER_X 3702 #define MAP_CENTER_Y -99430 #define MAP_CENTER_Z 85 #define MAP_ROTATION 0 //map size #define MAP_X 1600 #define MAP_Y 1600 #define MAP_Z 200 #endif #if 0 //map offset #define MAP_CENTER_X 0 #define MAP_CENTER_Y 0 #define MAP_CENTER_Z 0 #define MAP_ROTATION 0 //map size #define MAP_X 1600 #define MAP_Y 1600 #define MAP_Z 200 #endif // initial position // meidai IB (141117_run01,run02) #if 0 #define INITIAL_X -18354.1 #define INITIAL_Y -93693.4 #define INITIAL_Z 43 #define INITIAL_ROLL 0 #define INITIAL_PITCH 0 #define INITIAL_YAW -0.5 #endif // meidai (141205_outdoor1) #if 0 #define INITIAL_X -18526.5 #define INITIAL_Y -93646.0 #define INITIAL_Z 39 #define INITIAL_ROLL 0 #define INITIAL_PITCH 0.03 #define INITIAL_YAW -0.45 #endif // incubation(0826) #if 0 #define INITIAL_X (-18407.4 + 215 - 215 + 0.6) #define INITIAL_Y (-93444.9 - 400 + 400 + 0.65) #define INITIAL_Z 33 #define INITIAL_ROLL 0 #define INITIAL_PITCH -0.063 #define INITIAL_YAW -1.976 #endif // incubation parking(1224) #if 0 #define INITIAL_X (-18389.8) #define INITIAL_Y (-93499.1) #define INITIAL_Z 33 #define INITIAL_ROLL 0 #define INITIAL_PITCH 0 #define INITIAL_YAW 1.107 #endif // moriyama #if 0 #define INITIAL_X -14771 #define INITIAL_Y -84757 #define INITIAL_Z (39.8) #define INITIAL_ROLL 0 #define INITIAL_PITCH 0 //#define INITIAL_YAW 0 #define INITIAL_YAW 2.324 #endif // tctslc #if 0 #define INITIAL_X 3702 #define INITIAL_Y -99430 // matsu //#define INITIAL_Y -99426 //zmp #define INITIAL_Z 87 #define INITIAL_ROLL 0 #define INITIAL_PITCH 0 #define INITIAL_YAW 0 // matsu //#define INITIAL_YAW 3.14 //zmp #endif // no map #if 0 #define INITIAL_X 0 #define INITIAL_Y 0 #define INITIAL_Z 0 #define INITIAL_ROLL 0 #define INITIAL_PITCH 0 #define INITIAL_YAW 0 #endif // x=-14763 // y=-84780 // q=-2.34 #define LAYER_NUM 2 // 0.2 0.4 0.8 1.6 3.2(128*80*48) #define ND_MIN 40 //#define CELL_X (MAP_X*(1<