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 00026 00030 00031 00032 #ifndef __REMOTE_KHEPERA_COMM_H_ 00033 #define __REMOTE_KHEPERA_COMM_H_ 00034 00035 00036 namespace MipResources{ 00038 /* @{ */ 00039 00040 00043 enum RemoteKheperaCommPacketsTypes{ 00044 RK_CONNECTION_REQUEST, 00045 RK_CONNECTION_ACK, 00046 RK_CONNECTION_END, 00047 RK_SET_STATE, 00048 RK_VEL_COMMAND, 00049 RK_STATE, 00050 RK_CORRECTED_STATE, 00051 RK_SCAN, 00052 RK_COMM_PACKETS_TYPES_NUM 00053 }; 00054 00057 static const char* RemoteKheperaCommPacketsNames[RK_COMM_PACKETS_TYPES_NUM] = { 00058 "Connection Request", 00059 "Connection ACK", 00060 "Connection End", 00061 "Set State", 00062 "Velocity Command", 00063 "State", 00064 "Corrected State", 00065 "Scan" 00066 }; 00067 00068 /* @} */ 00069 00070 };// end namespace MipResources{ 00071 00072 #endif 00073 00074 00075 00076 00077 00078