main.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
3 
4 int main(int argc, char **argv)
5 {
6  ros::init(argc, argv, "depth_sensor_pose");
7  ros::NodeHandle pnh("~");
8 
10 
11  while (ros::ok()) {
12  ros::Rate rate(estimator.getNodeRate());
13  ros::spinOnce();
14  rate.sleep();
15  }
16 
17  return 0;
18 }
int main(int argc, char **argv)
Definition: main.cpp:4
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL bool ok()
float getNodeRate()
getNodeRate gets rate of data processing loop in node.
ROSCPP_DECL void spinOnce()


depth_sensor_pose
Author(s): Michal Drwiega (http://www.mdrwiega.com)
autogenerated on Wed May 5 2021 02:56:10