Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
g
i
k
p
r
t
u
Functions
Variables
a
k
u
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
z
~
Functions
a
b
c
d
e
f
g
i
l
n
o
p
r
s
t
u
~
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
z
Enumerations
Enumerator
Files
File List
File Members
All
c
e
j
k
m
o
r
t
Functions
c
e
m
o
r
t
Variables
Typedefs
Macros
o
src
main_services.cpp
Go to the documentation of this file.
1
// ROS headers
2
#include "
ros/ros.h
"
3
4
// Local headers
5
#include "
alb_requester.h
"
6
7
int
main
(
int
argc,
char
**argv)
8
{
9
ros::init
(argc, argv,
"alb_services"
);
10
ros::NodeHandle
node_handle;
11
AlbRequester
requester(node_handle);
12
ros::Rate
rate(20);
13
14
if
(!requester.
init
()) {
15
ROS_ERROR
(
"[alb_services] Invalid initialization"
);
16
return
-1;
17
}
18
19
while
(
ros::ok
()) {
20
ros::spinOnce
();
21
rate.
sleep
();
22
}
23
24
return
0;
25
}
alb_requester.h
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
AlbRequester
Class to send requests to the ALB.
Definition:
alb_requester.h:13
ros.h
ros::spinOnce
ROSCPP_DECL void spinOnce()
ros::ok
ROSCPP_DECL bool ok()
ros::Rate::sleep
bool sleep()
main
int main(int argc, char **argv)
Definition:
main_services.cpp:7
ROS_ERROR
#define ROS_ERROR(...)
ros::Rate
AlbRequester::init
bool init(void)
Initialize the ALB requester.
Definition:
alb_requester.cpp:11
ros::NodeHandle
outsight_alb_driver
Author(s): Outsight
autogenerated on Thu Oct 13 2022 02:21:45