00001 #include "ros/ros.h" 00002 #include "nodelet/loader.h" 00003 00004 int main(int argc, char **argv){ 00005 ros::init(argc, argv, "imu_transformer"); 00006 nodelet::Loader nodelet; 00007 nodelet::M_string remap(ros::names::getRemappings()); 00008 nodelet::V_string nargv; 00009 std::string nodelet_name = ros::this_node::getName(); 00010 nodelet.load(nodelet_name, "imu_transformer/imu_transformer_nodelet", remap, nargv); 00011 ros::spin(); 00012 return 0; 00013 }