00001 #include "quad_joy_teleop/quad_joy_teleop_nodelet.h" 00002 00003 PLUGINLIB_DECLARE_CLASS (quad_joy_teleop, QuadJoyTeleopNodelet, QuadJoyTeleopNodelet, nodelet::Nodelet); 00004 00005 void QuadJoyTeleopNodelet::onInit () 00006 { 00007 NODELET_INFO("Initializing QuadJoyTeleop Nodelet"); 00008 00009 // TODO: Do we want the single threaded or multithreaded NH? 00010 ros::NodeHandle nh = getMTNodeHandle(); 00011 ros::NodeHandle nh_private = getMTPrivateNodeHandle(); 00012 00013 quad_joy_teleop_ = new QuadJoyTeleop(nh, nh_private); 00014 }