yolo_object_detector_nodelet.cpp
Go to the documentation of this file.
1 /*
2  * Author: Timon Homberger
3  * Institute: ETH Zurich, Robotic Systems Lab
4  */
5 
6 #include <nodelet/nodelet.h>
8 #include <ros/ros.h>
10 
12  public:
13  DarknetRosNodelet() = default;
15  if (darknetRos_) delete darknetRos_;
16  }
17 
18  private:
19  virtual void onInit() {
20  ros::NodeHandle NodeHandle("~");
21  NodeHandle = getPrivateNodeHandle();
23  }
24 
26 };
27 
28 // Declare as a Plug-in
PLUGINLIB_EXPORT_CLASS(DarknetRosNodelet, nodelet::Nodelet)
ros::NodeHandle & getPrivateNodeHandle() const
darknet_ros::YoloObjectDetector * darknetRos_
DarknetRosNodelet()=default


darknet_ros
Author(s): Marko Bjelonic
autogenerated on Wed May 5 2021 02:58:30