imu_filter_nodelet.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010, CCNY Robotics Lab
3  * Ivan Dryanovski <ivan.dryanovski@gmail.com>
4  *
5  * http://robotics.ccny.cuny.edu
6  *
7  * Based on implementation of Madgwick's IMU and AHRS algorithms.
8  * http://www.x-io.co.uk/node/8#open_source_ahrs_and_imu_algorithms
9  *
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
27 
29 {
30  NODELET_INFO("Initializing IMU Filter Nodelet");
31 
32  // TODO: Do we want the single threaded or multithreaded NH?
35 
36  filter_.reset(new ImuFilterRos(nh, nh_private));
37 }
38 
virtual void onInit()
ros::NodeHandle & getMTNodeHandle() const
ros::NodeHandle & getMTPrivateNodeHandle() const
#define NODELET_INFO(...)
boost::shared_ptr< ImuFilterRos > filter_
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)


imu_filter_madgwick
Author(s): Ivan Dryanovski
autogenerated on Thu Apr 15 2021 05:06:00