swarmros/src/swarmros/example/main.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
3 
7 int main(int argc, const char* argv[])
8 {
9  // Initialize ROS
10  ros::init(argc, (char**)argv, "example");
11 
12  // Create node
13  swarmros::example::Node node("example");
14 
15  // Run node
16  ros::spin();
17 
18  // Exit
19  return 0;
20 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spin()
int main(int argc, const char *argv[])


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48