caster_app_node.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
2 
3 #include <dock_server.h>
4 
5 int main(int argc, char** argv) {
6  ros::init(argc, argv, "caster_app_node");
7  ros::NodeHandle nh, private_nh("~");
8  iqr::DockServer dock_server(nh, private_nh, "dock");
9  dock_server.Initialize();
10 
11  ros::Duration period(0.02);
12  while(ros::ok()) {
13  ros::spinOnce();
14  period.sleep();
15  }
16  return 0;
17 }
bool sleep() const
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
ROSCPP_DECL bool ok()
ROSCPP_DECL void spinOnce()


caster_app
Author(s): Ye Tian
autogenerated on Wed Dec 18 2019 03:34:44