Main Page
Namespaces
Namespace List
Classes
Class List
Class Hierarchy
Class Members
All
Functions
Variables
Files
File List
File Members
All
Typedefs
src
phidgets_analog_outputs_nodelet.cpp
Go to the documentation of this file.
1
#include <memory>
2
3
#include <
nodelet/nodelet.h
>
4
#include <
pluginlib/class_list_macros.h
>
5
#include <
ros/ros.h
>
6
7
#include "
phidgets_analog_outputs/analog_outputs_ros_i.h
"
8
#include "
phidgets_analog_outputs/phidgets_analog_outputs_nodelet.h
"
9
10
typedef
phidgets::PhidgetsAnalogOutputsNodelet
PhidgetsAnalogOutputsNodelet
;
11
12
PLUGINLIB_EXPORT_CLASS
(
PhidgetsAnalogOutputsNodelet
,
nodelet::Nodelet
)
13
14
void
PhidgetsAnalogOutputsNodelet
::onInit()
15
{
16
NODELET_INFO
(
"Initializing Phidgets Analog Outputs Nodelet"
);
17
18
// TODO: Do we want the single threaded or multithreaded NH?
19
ros::NodeHandle
nh = getMTNodeHandle();
20
ros::NodeHandle
nh_private = getMTPrivateNodeHandle();
21
22
aos_ = std::make_unique<AnalogOutputsRosI>(nh, nh_private);
23
}
ros.h
phidgets_analog_outputs_nodelet.h
class_list_macros.h
PLUGINLIB_EXPORT_CLASS
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
phidgets::PhidgetsAnalogOutputsNodelet
Definition:
phidgets_analog_outputs_nodelet.h:41
NODELET_INFO
#define NODELET_INFO(...)
nodelet::Nodelet
nodelet.h
analog_outputs_ros_i.h
PhidgetsAnalogOutputsNodelet
phidgets::PhidgetsAnalogOutputsNodelet PhidgetsAnalogOutputsNodelet
Definition:
phidgets_analog_outputs_nodelet.cpp:10
ros::NodeHandle
phidgets_analog_outputs
Author(s): Carsten Plasberg
autogenerated on Sat Dec 2 2023 03:18:53