Main Page
Namespaces
Classes
Files
File List
File Members
src
laser_scan_densifier_nodelet.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
/*
17
* Copyright (c) 2011, Ivan Dryanovski, William Morris
18
* All rights reserved.
19
*
20
* Redistribution and use in source and binary forms, with or without
21
* modification, are permitted provided that the following conditions are met:
22
*
23
* * Redistributions of source code must retain the above copyright
24
* notice, this list of conditions and the following disclaimer.
25
* * Redistributions in binary form must reproduce the above copyright
26
* notice, this list of conditions and the following disclaimer in the
27
* documentation and/or other materials provided with the distribution.
28
* * Neither the name of the CCNY Robotics Lab nor the names of its
29
* contributors may be used to endorse or promote products derived from
30
* this software without specific prior written permission.
31
*
32
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
36
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
37
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
38
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
39
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
40
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42
* POSSIBILITY OF SUCH DAMAGE.
43
*/
44
45
#include "
laser_scan_densifier/laser_scan_densifier_nodelet.h
"
46
47
typedef
scan_tools::LaserScanDensifierNodelet
LaserScanDensifierNodelet
;
48
49
PLUGINLIB_EXPORT_CLASS
(
LaserScanDensifierNodelet
,
nodelet::Nodelet
)
50
51
void
LaserScanDensifierNodelet
::onInit ()
52
{
53
NODELET_INFO
(
"Initializing LaserScanDensifier Nodelet"
);
54
55
// TODO: Do we want the single threaded or multithreaded NH?
56
ros::NodeHandle
nh = getMTNodeHandle();
57
ros::NodeHandle
nh_private = getMTPrivateNodeHandle();
58
59
laser_scan_densifier_ =
boost::shared_ptr< LaserScanDensifier >
(
new
LaserScanDensifier
(nh, nh_private));
60
}
scan_tools::LaserScanDensifierNodelet
Definition:
laser_scan_densifier_nodelet.h:55
ros::NodeHandle
LaserScanDensifierNodelet
scan_tools::LaserScanDensifierNodelet LaserScanDensifierNodelet
Definition:
laser_scan_densifier_nodelet.cpp:47
boost::shared_ptr
nodelet::Nodelet
laser_scan_densifier_nodelet.h
NODELET_INFO
#define NODELET_INFO(...)
PLUGINLIB_EXPORT_CLASS
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
scan_tools::LaserScanDensifier
Definition:
laser_scan_densifier.h:53
laser_scan_densifier
Author(s): Felix Messmer
autogenerated on Wed Apr 7 2021 02:12:00