00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include "../../vm/natives.h"
00033
00034 #define SIMPLIFIED_EPUCK
00035
00036 AsebaVMDescription vmDescription_en = {
00037 "e-puck",
00038 {
00039 { 1, "wheel_left_speed" },
00040 { 1, "wheel_right_speed" },
00041 { 1, "color_red" },
00042 { 1, "color_green" },
00043 { 1, "color_blue" },
00044 #ifdef SIMPLIFIED_EPUCK
00045 { 1, "dist_front_front_right" },
00046 { 1, "dist_front_right" },
00047 { 1, "dist_right" },
00048 { 1, "dist_back_right" },
00049 { 1, "dist_back_left" },
00050 { 1, "dist_left" },
00051 { 1, "dist_front_left" },
00052 { 1, "dist_front_front_left" },
00053 { 8, "dist" },
00054 #else
00055 { 8, "prox" },
00056 #endif
00057 #ifdef SIMPLIFIED_EPUCK
00058 { 1, "cam_red_left" },
00059 { 1, "cam_red_middle" },
00060 { 1, "cam_red_right" },
00061 { 3, "cam_red" },
00062 #else
00063 { 60, "camR" },
00064 #endif
00065 #ifdef SIMPLIFIED_EPUCK
00066 { 1, "cam_green_left" },
00067 { 1, "cam_green_middle" },
00068 { 1, "cam_green_right" },
00069 { 3, "cam_green" },
00070 #else
00071 { 60, "camG" },
00072 #endif
00073 #ifdef SIMPLIFIED_EPUCK
00074 { 1, "cam_blue_left" },
00075 { 1, "cam_blue_middle" },
00076 { 1, "cam_blue_right" },
00077 { 3, "cam_blue" },
00078 #else
00079 { 60, "camB" },
00080 #endif
00081 { 1, "energy" },
00082 { 0, NULL }
00083 }
00084 };
00085
00086 AsebaVMDescription vmDescription_fr = {
00087 "e-puck",
00088 {
00089 { 1, "roues_vitesse_gauche" },
00090 { 1, "roues_vitesse_droite" },
00091 { 1, "couleur_rouge" },
00092 { 1, "couleur_vert" },
00093 { 1, "couleur_bleu" },
00094 #ifdef SIMPLIFIED_EPUCK
00095 { 1, "dist_avant_avant_droite" },
00096 { 1, "dist_avant_droite" },
00097 { 1, "dist_droite" },
00098 { 1, "dist_arriere_droite" },
00099 { 1, "dist_arriere_gauche" },
00100 { 1, "dist_gauche" },
00101 { 1, "dist_avant_gauche" },
00102 { 1, "dist_avant_avant_gauche" },
00103 { 8, "dist" },
00104 #else
00105 { 8, "prox" },
00106 #endif
00107 #ifdef SIMPLIFIED_EPUCK
00108 { 1, "cam_rouge_gauche" },
00109 { 1, "cam_rouge_milieu" },
00110 { 1, "cam_rouge_droite" },
00111 { 3, "cam_rouge" },
00112 #else
00113 { 60, "camR" },
00114 #endif
00115 #ifdef SIMPLIFIED_EPUCK
00116 { 1, "cam_vert_gauche" },
00117 { 1, "cam_vert_milieu" },
00118 { 1, "cam_vert_droite" },
00119 { 3, "cam_vert" },
00120 #else
00121 { 60, "camG" },
00122 #endif
00123 #ifdef SIMPLIFIED_EPUCK
00124 { 1, "cam_bleu_gauche" },
00125 { 1, "cam_bleu_milieu" },
00126 { 1, "cam_bleu_droite" },
00127 { 3, "cam_bleu" },
00128 #else
00129 { 60, "camB" },
00130 #endif
00131 { 1, "energie" },
00132 { 0, NULL }
00133 }
00134 };
00135
00136
00137
00138