challenge-vm-description.c
Go to the documentation of this file.
00001 /*
00002         Challenge - Virtual Robot Challenge System
00003         Copyright (C) 1999--2008:
00004                 Stephane Magnenat <stephane at magnenat dot net>
00005                 (http://stephane.magnenat.net)
00006         3D models
00007         Copyright (C) 2008:
00008                 Basilio Noris
00009         Aseba - an event-based framework for distributed robot control
00010         Copyright (C) 2007--2010:
00011                 Stephane Magnenat <stephane at magnenat dot net>
00012                 (http://stephane.magnenat.net)
00013                 and other contributors, see authors.txt for details
00014         
00015         This program is free software: you can redistribute it and/or modify
00016         it under the terms of the GNU Lesser General Public License as published
00017         by the Free Software Foundation, version 3 of the License.
00018         
00019         This program is distributed in the hope that it will be useful,
00020         but WITHOUT ANY WARRANTY; without even the implied warranty of
00021         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022         GNU Lesser General Public License for more details.
00023         
00024         You should have received a copy of the GNU Lesser General Public License
00025         along with this program. If not, see <http://www.gnu.org/licenses/>.
00026 */
00027 
00028 #include "../../vm/natives.h"
00029 #include "../../common/productids.h"
00030 
00031 #define SIMPLIFIED_EPUCK
00032 
00033 AsebaVMDescription vmDescription_en = {
00034         "e-puck",
00035         {
00036                 { 1, ASEBA_PID_VAR_NAME },
00037                 { 1, "wheel_left_speed" },
00038                 { 1, "wheel_right_speed" },
00039                 { 1, "color_red" },
00040                 { 1, "color_green" },
00041                 { 1, "color_blue" },
00042                 #ifdef SIMPLIFIED_EPUCK
00043                 { 1, "dist_front_front_right" },
00044                 { 1, "dist_front_right" },
00045                 { 1, "dist_right" },
00046                 { 1, "dist_back_right" },
00047                 { 1, "dist_back_left" },
00048                 { 1, "dist_left" },
00049                 { 1, "dist_front_left" },
00050                 { 1, "dist_front_front_left" },
00051                 { 8, "dist" },
00052                 #else
00053                 { 8, "prox" },
00054                 #endif
00055                 #ifdef SIMPLIFIED_EPUCK
00056                 { 1, "cam_red_left" },
00057                 { 1, "cam_red_middle" },
00058                 { 1, "cam_red_right" },
00059                 { 3, "cam_red" },
00060                 #else
00061                 { 60, "camR" },
00062                 #endif
00063                 #ifdef SIMPLIFIED_EPUCK
00064                 { 1, "cam_green_left" },
00065                 { 1, "cam_green_middle" },
00066                 { 1, "cam_green_right" },
00067                 { 3, "cam_green" },
00068                 #else
00069                 { 60, "camG" },
00070                 #endif
00071                 #ifdef SIMPLIFIED_EPUCK
00072                 { 1, "cam_blue_left" },
00073                 { 1, "cam_blue_middle" },
00074                 { 1, "cam_blue_right" },
00075                 { 3, "cam_blue" },
00076                 #else
00077                 { 60, "camB" },
00078                 #endif
00079                 { 1, "energy" },
00080                 { 0, NULL }
00081         }
00082 };
00083 
00084 AsebaVMDescription vmDescription_fr = {
00085         "e-puck",
00086         {
00087                 { 1, ASEBA_PID_VAR_NAME },
00088                 { 1, "roues_vitesse_gauche" },
00089                 { 1, "roues_vitesse_droite" },
00090                 { 1, "couleur_rouge" },
00091                 { 1, "couleur_vert" },
00092                 { 1, "couleur_bleu" },
00093                 #ifdef SIMPLIFIED_EPUCK
00094                 { 1, "dist_avant_avant_droite" },
00095                 { 1, "dist_avant_droite" },
00096                 { 1, "dist_droite" },
00097                 { 1, "dist_arriere_droite" },
00098                 { 1, "dist_arriere_gauche" },
00099                 { 1, "dist_gauche" },
00100                 { 1, "dist_avant_gauche" },
00101                 { 1, "dist_avant_avant_gauche" },
00102                 { 8, "dist" },
00103                 #else
00104                 { 8, "prox" },
00105                 #endif
00106                 #ifdef SIMPLIFIED_EPUCK
00107                 { 1, "cam_rouge_gauche" },
00108                 { 1, "cam_rouge_milieu" },
00109                 { 1, "cam_rouge_droite" },
00110                 { 3, "cam_rouge" },
00111                 #else
00112                 { 60, "camR" },
00113                 #endif
00114                 #ifdef SIMPLIFIED_EPUCK
00115                 { 1, "cam_vert_gauche" },
00116                 { 1, "cam_vert_milieu" },
00117                 { 1, "cam_vert_droite" },
00118                 { 3, "cam_vert" },
00119                 #else
00120                 { 60, "camG" },
00121                 #endif
00122                 #ifdef SIMPLIFIED_EPUCK
00123                 { 1, "cam_bleu_gauche" },
00124                 { 1, "cam_bleu_milieu" },
00125                 { 1, "cam_bleu_droite" },
00126                 { 3, "cam_bleu" },
00127                 #else
00128                 { 60, "camB" },
00129                 #endif
00130                 { 1, "energie" },
00131                 { 0, NULL }
00132         }
00133 };
00134 
00135 
00136 
00137 


aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:38