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 #include "crsm_slam/crsm_slam.h" 00021 00027 int main (int argc, char **argv){ 00028 00029 ros::init(argc,argv,"crsm_slam_node",ros::init_options::NoSigintHandler); 00030 00031 crsm_slam::CrsmSlam slam(argc,argv); 00032 00033 ROS_INFO("[CrsmSlam] CRSM Slam Node initialised"); 00034 00035 // subscribe to laser 00036 slam.startLaserSubscriber(); 00037 00038 // publish map and trajectory 00039 slam.startOGMPublisher(); 00040 slam.startTrajectoryPublisher(); 00041 00042 ros::spin(); 00043 return 0; 00044 }