Main Page
Namespaces
Classes
Files
File List
File Members
src
main.cpp
Go to the documentation of this file.
1
#include <
ros/ros.h
>
2
#include <
depth_sensor_pose/depth_sensor_pose_node.h
>
3
4
int
main
(
int
argc,
char
**argv)
5
{
6
ros::init
(argc, argv,
"depth_sensor_pose"
);
7
ros::NodeHandle
pnh(
"~"
);
8
9
depth_sensor_pose::DepthSensorPoseNode
estimator(pnh);
10
11
while
(
ros::ok
()) {
12
ros::Rate
rate(estimator.
getNodeRate
());
13
ros::spinOnce
();
14
rate.sleep();
15
}
16
17
return
0;
18
}
depth_sensor_pose::DepthSensorPoseNode
Definition:
depth_sensor_pose_node.h:21
ros::NodeHandle
main
int main(int argc, char **argv)
Definition:
main.cpp:4
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ros::Rate
depth_sensor_pose_node.h
ros::ok
ROSCPP_DECL bool ok()
depth_sensor_pose::DepthSensorPoseNode::getNodeRate
float getNodeRate()
getNodeRate gets rate of data processing loop in node.
Definition:
depth_sensor_pose_node.cpp:46
ros.h
ros::spinOnce
ROSCPP_DECL void spinOnce()
depth_sensor_pose
Author(s): Michal Drwiega (http://www.mdrwiega.com)
autogenerated on Wed May 5 2021 02:56:10