Main Page
Namespaces
Classes
Files
File List
File Members
src
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
}
ros::NodeHandle
iqr::DockServer::Initialize
void Initialize()
Definition:
dock_server.cpp:35
ros::Duration::sleep
bool sleep() const
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
main
int main(int argc, char **argv)
Definition:
caster_app_node.cpp:5
iqr::DockServer
Definition:
dock_server.h:19
dock_server.h
ros::ok
ROSCPP_DECL bool ok()
dock_server
Definition:
dock_server.py:1
ros.h
ros::Duration
ros::spinOnce
ROSCPP_DECL void spinOnce()
caster_app
Author(s): Ye Tian
autogenerated on Wed Dec 18 2019 03:34:44