playground-vm-description.c
Go to the documentation of this file.
00001 /*
00002         Playground - An active arena to learn multi-robots programming
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 
00032 AsebaVMDescription vmDescription = {
00033         "e-puck  ",
00034         {
00035                 { 1, "id" },    // Do not touch it
00036                 { 1, "source" }, // nor this one
00037                 { 32, "args" }, // neither this one
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 


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:16