laser_scan_densifier_nodelet.cpp
Go to the documentation of this file.
00001 /*
00002  * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *   http://www.apache.org/licenses/LICENSE-2.0
00009 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 /*
00017  * Copyright (c) 2011, Ivan Dryanovski, William Morris
00018  * All rights reserved.
00019  *
00020  * Redistribution and use in source and binary forms, with or without
00021  * modification, are permitted provided that the following conditions are met:
00022  *
00023  *     * Redistributions of source code must retain the above copyright
00024  *       notice, this list of conditions and the following disclaimer.
00025  *     * Redistributions in binary form must reproduce the above copyright
00026  *       notice, this list of conditions and the following disclaimer in the
00027  *       documentation and/or other materials provided with the distribution.
00028  *     * Neither the name of the CCNY Robotics Lab nor the names of its
00029  *       contributors may be used to endorse or promote products derived from
00030  *       this software without specific prior written permission.
00031  *
00032  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00033  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00034  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00035  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00036  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00037  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00038  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00039  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00040  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00041  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00042  * POSSIBILITY OF SUCH DAMAGE.
00043  */
00044 
00045 #include "laser_scan_densifier/laser_scan_densifier_nodelet.h"
00046 
00047 typedef scan_tools::LaserScanDensifierNodelet LaserScanDensifierNodelet;
00048 
00049 PLUGINLIB_EXPORT_CLASS(LaserScanDensifierNodelet, nodelet::Nodelet)
00050 
00051 void LaserScanDensifierNodelet::onInit ()
00052 {
00053   NODELET_INFO("Initializing LaserScanDensifier Nodelet");
00054   
00055   // TODO: Do we want the single threaded or multithreaded NH?
00056   ros::NodeHandle nh         = getMTNodeHandle();
00057   ros::NodeHandle nh_private = getMTPrivateNodeHandle();
00058 
00059   laser_scan_densifier_ = boost::shared_ptr< LaserScanDensifier >(new LaserScanDensifier(nh, nh_private));
00060 }


laser_scan_densifier
Author(s): Felix Messmer
autogenerated on Sat Jun 8 2019 21:02:37