00001 /* 00002 @author Roberto G. Valenti <robertogl.valenti@gmail.com> 00003 00004 @section LICENSE 00005 Copyright (c) 2015, City University of New York 00006 CCNY Robotics Lab <http://robotics.ccny.cuny.edu> 00007 All rights reserved. 00008 00009 Redistribution and use in source and binary forms, with or without 00010 modification, are permitted provided that the following conditions are met: 00011 1. Redistributions of source code must retain the above copyright 00012 notice, this list of conditions and the following disclaimer. 00013 2. Redistributions in binary form must reproduce the above copyright 00014 notice, this list of conditions and the following disclaimer in the 00015 documentation and/or other materials provided with the distribution. 00016 3. Neither the name of the City College of New York nor the 00017 names of its contributors may be used to endorse or promote products 00018 derived from this software without specific prior written permission. 00019 00020 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00021 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00022 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 DISCLAIMED. IN NO EVENT SHALL the CCNY ROBOTICS LAB BE LIABLE FOR ANY 00024 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00025 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00026 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00027 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 */ 00031 00032 #include "imu_complementary_filter/complementary_filter_ros.h" 00033 00034 int main (int argc, char **argv) 00035 { 00036 ros::init (argc, argv, "ComplementaryFilterROS"); 00037 ros::NodeHandle nh; 00038 ros::NodeHandle nh_private("~"); 00039 imu_tools::ComplementaryFilterROS filter(nh, nh_private); 00040 ros::spin(); 00041 return 0; 00042 }