00001 // ---------------------------------------------------------------------------- 00002 // 00003 // $Id$ 00004 // 00005 // Copyright 2008, 2009, 2010, 2011, 2012 Antonio Franchi and Paolo Stegagno 00006 // 00007 // This file is part of MIP. 00008 // 00009 // MIP is free software: you can redistribute it and/or modify 00010 // it under the terms of the GNU General Public License as published by 00011 // the Free Software Foundation, either version 3 of the License, or 00012 // (at your option) any later version. 00013 // 00014 // MIP is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU General Public License 00020 // along with MIP. If not, see <http://www.gnu.org/licenses/>. 00021 // 00022 // Contact info: antonio.franchi@tuebingen.mpg.de stegagno@diag.uniroma1.it 00023 // 00024 // ---------------------------------------------------------------------------- 00025 00029 00030 00034 00036 /* @{ */ 00037 00038 #ifndef __STRUCT_QUAD_ 00039 #define __STRUCT_QUAD_ 00040 00041 #include <SpacesArma.h> 00042 00043 // This file includes the structure used for the quadrotor stuff and, in particular, for the filtering algorithm 00044 00045 namespace MipBaselib{ 00046 // IMU output: acceleration and angular velocity 00047 struct IMUOdometry{ 00048 Acceleration3D linAcc; 00049 Velocity3D angVel; 00050 }; 00051 00052 // Input for the filter with velocity input: linear and angular velocity 00053 struct VelOdometry{ 00054 Velocity3D linVel; 00055 Velocity3D angVel; 00056 }; 00057 00058 // State of the filter excepted for the relative yaw angle 00059 struct filterState{ 00060 Pose3D pose; 00061 Velocity3D vel; 00062 }; 00063 }; 00064 00065 #endif 00066 00067 /* @} */