00001 /* 00002 * @(#)test_laser-nav.c 07/04/19 00003 * 00004 * License : GNU GPL v.2 00005 * Description : test program for a laser-nav library. 00006 * Author : Tran Duy Khanh (www.tran.cz) 00007 */ 00008 00009 #include "laser-nav.h" 00010 00011 struct pln_point positions[FWIDTH*FHEIGHT]; 00012 int poscount; 00013 00014 int main() 00015 { 00016 test_angles(positions, &poscount); 00017 printf("poscount = %d\n", poscount); 00018 00019 test_coordination(); 00020 00021 test_sel_angles(); 00022 00023 test_cal_position(positions, &poscount); 00024 00025 return 0; 00026 }