00001 /* 00002 * This file is part of CrsmSlam. 00003 CrsmSlam is free software: you can redistribute it and/or modify 00004 it under the terms of the GNU General Public License as published by 00005 the Free Software Foundation, either version 3 of the License, or 00006 (at your option) any later version. 00007 00008 CrsmSlam is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with CrsmSlam. If not, see <http://www.gnu.org/licenses/>. 00015 * 00016 * Author : Manos Tsardoulias, etsardou@gmail.com 00017 * Organization : AUTH, PANDORA Robotics Team 00018 * */ 00019 00020 #ifndef CRSM_LASERSCAN_HEADER 00021 #define CRSM_LASERSCAN_HEADER 00022 00023 #include "crsm_point.h" 00024 00025 namespace crsm_slam{ 00030 struct CrsmLaserScan{ 00031 00035 CrsmLaserScan(int nRays){ 00036 distance=new float[nRays]; 00037 density=new float[nRays-1]; 00038 p=new CrsmPoint[nRays]; 00039 } 00043 CrsmLaserScan(){} 00044 00045 float * distance; 00046 float * density; 00047 CrsmPoint * p; 00048 }; 00049 00050 } 00051 #endif