$search
00001 /* 00002 Aseba - an event-based framework for distributed robot control 00003 Copyright (C) 2007--2010: 00004 Stephane Magnenat <stephane at magnenat dot net> 00005 (http://stephane.magnenat.net) 00006 and other contributors, see authors.txt for details 00007 00008 This program is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU Lesser General Public License as published 00010 by the Free Software Foundation, version 3 of the License. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 #include "../../vm/natives.h" 00022 00023 AsebaVMDescription vmLeftMotorDescription = { 00024 "left motor", 00025 { 00026 { 1, "id" }, 00027 { 1, "source" }, 00028 { 32, "args" }, 00029 { 1, "speed" }, 00030 { 2, "odo" }, 00031 { 0, NULL } 00032 } 00033 }; 00034 00035 AsebaVMDescription vmRightMotorDescription = { 00036 "right motor", 00037 { 00038 { 1, "id" }, 00039 { 1, "source" }, 00040 { 32, "args" }, 00041 { 1, "speed" }, 00042 { 2, "odo" }, 00043 { 0, NULL } 00044 } 00045 }; 00046 00047 AsebaVMDescription vmProximitySensorsDescription = { 00048 "proximity sensors", 00049 { 00050 { 1, "id" }, 00051 { 1, "source" }, 00052 { 32, "args" }, 00053 { 24, "bumpers" }, 00054 { 12, "ground" }, 00055 { 0, NULL } 00056 } 00057 }; 00058 00059 AsebaVMDescription vmDistanceSensorsDescription = { 00060 "distance sensors", 00061 { 00062 { 1, "id" }, 00063 { 1, "source" }, 00064 { 32, "args" }, 00065 { 180, "distances" }, 00066 { 0, NULL } 00067 } 00068 };