Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
c
d
g
m
o
p
r
s
t
x
+
Functions
d
g
m
p
r
s
t
x
Variables
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
y
z
+
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
src
inference.cpp
Go to the documentation of this file.
1
18
// Global includes
19
#include <stdio.h>
20
21
// Package includes
22
#include <
ros/ros.h
>
23
24
// Local includes
25
#include "
inference/SceneInferenceEngine.h
"
26
27
using namespace
ProbabilisticSceneRecognition
;
28
33
int
main
(
int
argc,
char
* argv[])
34
{
35
// Initialize ros node.
36
ros::init
(argc, argv,
"js_probabilistic_scene_inference_engine"
);
37
38
// Create inference engine.
39
SceneInferenceEngine
ie;
40
41
// Specifies the updates per second.
42
ros::Rate
rate(30);
43
44
// Run main loop until termination.
45
while
(
ros::ok
()) {
46
47
// Visualize the probabilistic scene model.
48
ie.
update
();
49
50
// Longing for callbacks.
51
ros::spinOnce
();
52
53
// Sleep for the given time in seconds.
54
rate.
sleep
();
55
}
56
return
0;
57
}
SceneInferenceEngine.h
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ros::Rate
main
int main(int argc, char *argv[])
Definition:
inference.cpp:33
ros::ok
ROSCPP_DECL bool ok()
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::SceneInferenceEngine::update
void update()
Definition:
SceneInferenceEngine.cpp:100
ProbabilisticSceneRecognition::SceneInferenceEngine
Definition:
SceneInferenceEngine.h:46
ros::Rate::sleep
bool sleep()
ros.h
ros::spinOnce
ROSCPP_DECL void spinOnce()
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Mon Feb 28 2022 21:50:12