phidgets_imu_nodelet.cpp
Go to the documentation of this file.
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 }


phidgets_imu
Author(s): Ivan Dryanovski
autogenerated on Wed Aug 26 2015 15:28:19