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 #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