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.cpp
Go to the documentation of this file.
1
// ROS headers
2
#include "
ros/ros.h
"
3
4
// Local headers
5
#include "
alb_reader.h
"
6
7
int
main
(
int
argc,
char
**argv)
8
{
9
ros::init
(argc, argv,
"alb_data"
);
10
ros::NodeHandle
node_handle;
11
12
ROS_INFO
(
"[alb_data] - Init node"
);
13
AlbReader
reader(node_handle);
14
15
if
(!reader.
init
()) {
16
ROS_ERROR
(
"[alb_data] Invalid initialization"
);
17
return
-1;
18
}
19
20
while
(
ros::ok
()) {
21
reader.
parse
();
22
ros::spinOnce
();
23
}
24
25
return
0;
26
}
AlbReader::parse
int parse()
Parse data from the input stream (ROS callback).
Definition:
alb_reader.cpp:48
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros.h
ros::spinOnce
ROSCPP_DECL void spinOnce()
main
int main(int argc, char **argv)
Definition:
main.cpp:7
AlbReader::init
bool init()
Initialize the parser.
Definition:
alb_reader.cpp:29
ros::ok
ROSCPP_DECL bool ok()
AlbReader
Class to read data from the ALB live stream.
Definition:
alb_reader.h:15
alb_reader.h
ROS_ERROR
#define ROS_ERROR(...)
ROS_INFO
#define ROS_INFO(...)
ros::NodeHandle
outsight_alb_driver
Author(s): Outsight
autogenerated on Thu Oct 13 2022 02:21:45