Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
cloud_node.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 Austin Robot Technology, Jack O'Quin
3
* Copyright (C) 2016 Robosense, Tony Zhang
4
* License: Modified BSD Software License Agreement
5
*
6
7
Copyright (C) 2010-2013 Austin Robot Technology, and others
8
All rights reserved.
9
10
11
Modified BSD License:
12
--------------------
13
14
Redistribution and use in source and binary forms, with or without
15
modification, are permitted provided that the following conditions
16
are met:
17
18
* Redistributions of source code must retain the above copyright
19
notice, this list of conditions and the following disclaimer.
20
21
* Redistributions in binary form must reproduce the above
22
copyright notice, this list of conditions and the following
23
disclaimer in the documentation and/or other materials provided
24
with the distribution.
25
26
* Neither the names of the University of Texas at Austin, nor
27
Austin Robot Technology, nor the names of other contributors may
28
be used to endorse or promote products derived from this
29
software without specific prior written permission.
30
31
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
34
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
35
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
36
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
37
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
39
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
40
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
41
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42
POSSIBILITY OF SUCH DAMAGE.
43
*/
44
50
#include "
convert.h
"
51
53
int
main
(
int
argc,
char
** argv)
54
{
55
ros::init
(argc, argv,
"rscloud_node"
);
56
ros::NodeHandle
node;
57
ros::NodeHandle
priv_nh(
"~"
);
58
59
// create conversion class, which subscribes to raw data
60
rslidar_pointcloud::Convert
conv(node, priv_nh);
61
62
// handle callbacks until shut down
63
ros::spin
();
64
65
return
0;
66
}
ros::NodeHandle
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ros::spin
ROSCPP_DECL void spin(Spinner &spinner)
rslidar_pointcloud::Convert
Definition:
convert.h:63
main
int main(int argc, char **argv)
Definition:
cloud_node.cc:53
convert.h
rslidar_pointcloud
Author(s): Tony Zhang
, Tony Zhang, George Wang, Piyush Khandelwal, Jesse Vera
autogenerated on Mon Jun 10 2019 14:41:10