cloud_node.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Austin Robot Technology, Jack O'Quin
3  * License: Modified BSD Software License Agreement
4  *
5  * $Id$
6  */
7 
14 #include <ros/ros.h>
16 
18 int main(int argc, char **argv)
19 {
20  ros::init(argc, argv, "cloud_node");
21  ros::NodeHandle node;
22  ros::NodeHandle priv_nh("~");
23 
24  // create conversion class, which subscribes to raw data
25  velodyne_pointcloud::Convert conv(node, priv_nh);
26 
27  // handle callbacks until shut down
28  ros::spin();
29 
30  return 0;
31 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spin(Spinner &spinner)
int main(int argc, char **argv)
Definition: cloud_node.cc:18


velodyne_pointcloud
Author(s): Jack O'Quin, Piyush Khandelwal, Jesse Vera, Sebastian Pütz
autogenerated on Sun Sep 6 2020 03:25:30