00001 /* 00002 * remoteControlCar.cc 00003 * Copyright (C) Mansi Shah 2009 <mrshah@users.sourceforge.net> 00004 * 00005 * remoteControlCar.cc is free software: you can redistribute it and/or modify it 00006 * under the terms of the GNU General Public License as published by the 00007 * Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * remoteControlCar.cc is distributed in the hope that it will be useful, but 00011 * WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 * See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #include "uvsim/control/ControlComm.h" 00020 #include "pthread.h" 00021 00022 00023 int main (int argc, char const* argv[]) 00024 { 00025 uvsim::ControlComm a("/dev/rfcomm1",true); 00026 for (;;) 00027 { 00028 a.update(); 00029 usleep(10000); 00030 } 00031 return 0; 00032 } 00033 // vim:ts=4:sw=4