Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
n
o
p
r
s
t
Functions
Variables
a
c
d
e
f
n
p
r
s
t
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
y
z
~
Functions
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
~
Variables
a
b
c
d
f
g
i
l
m
n
p
q
r
s
t
w
x
z
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
Functions
Macros
src
nodes
openni_node.cpp
Go to the documentation of this file.
1
#include <
ros/ros.h
>
2
#include <
nodelet/loader.h
>
3
4
int
main
(
int
argc,
char
** argv)
5
{
6
ros::init
(argc, argv,
"openni_driver"
);
7
8
nodelet::Loader
manager(
true
);
// Bring up manager ROS API
9
nodelet::M_string
remappings;
10
nodelet::V_string
my_argv;
11
12
// Driver nodelet
13
manager.
load
(
ros::this_node::getName
(),
"openni_camera/driver"
, remappings, my_argv);
14
15
// Manager service calls are on global callback queue
16
ros::spin
();
17
}
nodelet::V_string
std::vector< std::string > V_string
nodelet::M_string
std::map< std::string, std::string > M_string
loader.h
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros.h
nodelet::Loader
nodelet::Loader::load
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
main
int main(int argc, char **argv)
Definition:
openni_node.cpp:4
ros::this_node::getName
const ROSCPP_DECL std::string & getName()
ros::spin
ROSCPP_DECL void spin()
openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23