00001 /* 00002 * Software License Agreement (BSD License) 00003 * 00004 * Copyright (c) 2015, IAV Automotive Engineering 00005 * All rights reserved. 00006 * 00007 * Redistribution and use in source and binary forms, with or without 00008 * modification, are permitted provided that the following conditions are met: 00009 * 00010 * 1. Redistributions of source code must retain the above copyright notice, 00011 * this list of conditions and the following disclaimer. 00012 * 00013 * 2. Redistributions in binary form must reproduce the above copyright notice, 00014 * this list of conditions and the following disclaimer in the documentation 00015 * and/or other materials provided with the distribution. 00016 * 00017 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00018 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00019 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00020 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 00021 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00022 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00023 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00024 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00025 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00026 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00027 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00028 * 00029 */ 00030 /* 00031 * IAV Team 00032 * http://www.iav.com 00033 * 00034 */ 00035 00036 00037 #ifndef LSPARAM 00038 #define LSPARAM 00039 00040 #include <stdlib.h> 00041 #include <sstream> 00042 #include <math.h> 00043 #include <limits.h> 00044 00045 #include <tf/transform_broadcaster.h> 00046 #include <tf/tf.h> 00047 #include <tf/transform_listener.h> 00048 00049 namespace iav_depthimage_to_laserscan 00050 { 00051 00052 // These Class contains all the parameters of the laser scanner, that must to be initialized. 00053 class LSParam 00054 { 00055 public: 00056 00057 LSParam(){ 00058 } 00059 00060 ~LSParam(){ 00061 } 00062 00063 // Laser Variables 00064 std::string laser_output_frame_id; // Laser header.frame_id 00065 00066 double laser_max_range; // Max. ranges of the laser 00067 double laser_min_range; // Min. ranges of the laser 00068 00069 // Angle of View of the laser 00070 double laser_max_angle; 00071 double laser_min_angle; 00072 00073 int laser_rays; // amount of rays (for the resolution) 00074 00075 }; 00076 00077 }; //iav_depthimage_to_laserscan 00078 00079 #endif