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
00032 AsebaVMDescription vmDescription = {
00033 "e-puck ",
00034 {
00035 { 1, "id" },
00036 { 1, "source" },
00037 { 32, "args" },
00038 { 1, ASEBA_PID_VAR_NAME },
00039 { 1, "leftSpeed" },
00040 { 1, "rightSpeed" },
00041 { 1, "colorR" },
00042 { 1, "colorG" },
00043 { 1, "colorB" },
00044 { 8, "prox" },
00045 { 60, "camR" },
00046 { 60, "camG" },
00047 { 60, "camB" },
00048 { 1, "energy" },
00049 { 0, NULL }
00050 }
00051 };
00052
00053 AsebaNativeFunctionDescription PlaygroundNativeDescription_energysend =
00054 {
00055 "energy.send",
00056 "send energy to pool",
00057 {
00058 { 1, "amount" },
00059 { 0, 0 }
00060 }
00061 };
00062
00063 AsebaNativeFunctionDescription PlaygroundNativeDescription_energyreceive =
00064 {
00065 "energy.receive",
00066 "receive energy from pool",
00067 {
00068 { 1, "amount" },
00069 { 0, 0 }
00070 }
00071 };
00072
00073 AsebaNativeFunctionDescription PlaygroundNativeDescription_energyamount =
00074 {
00075 "energy.amount",
00076 "get the amount of energy available in pool",
00077 {
00078 { 1, "amount" },
00079 { 0, 0 }
00080 }
00081 };
00082