#include <nodelet/loader.h>
#include <nodelet/nodelet.h>
#include <ros/ros.h>
#include <cstdlib>
Go to the source code of this file.
◆ CAMERA_NODE_WRAPPER
| #define CAMERA_NODE_WRAPPER |
( |
|
ClassName, |
|
|
|
ClassNameCamelCase, |
|
|
|
NodeName |
|
) |
| |
Value:ros::init(argc, argv,
"ensenso_camera_" #NodeName); \
\
nodelet::V_string arguments; \
for (int i = 0; i < argc; i++) \
{ \
arguments.push_back(argv[i]); \
} \
\
\
ros::spin();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
ROSCPP_DECL const M_string & getRemappings()
Definition at line 33 of file node_wrapper.h.
◆ SINGLE_NODE_WRAPPER
| #define SINGLE_NODE_WRAPPER |
( |
|
ClassName, |
|
|
|
NodeName |
|
) |
| |
Value: ClassName node; \
ros::spin();
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
Definition at line 48 of file node_wrapper.h.