00001 #include "phidgets_imu/phidgets_imu_nodelet.h" 00002 00003 typedef phidgets::PhidgetsImuNodelet PhidgetsImuNodelet; 00004 00005 PLUGINLIB_DECLARE_CLASS (phidgets_imu, PhidgetsImuNodelet, PhidgetsImuNodelet, nodelet::Nodelet); 00006 00007 void PhidgetsImuNodelet::onInit() 00008 { 00009 NODELET_INFO("Initializing Phidgets IMU Nodelet"); 00010 00011 // TODO: Do we want the single threaded or multithreaded NH? 00012 ros::NodeHandle nh = getMTNodeHandle(); 00013 ros::NodeHandle nh_private = getMTPrivateNodeHandle(); 00014 00015 imu_ = new ImuRosI(nh, nh_private); 00016 }