Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Submitted version of the thesis - Airlab, the Artificial Intelligence ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
96 Appendix B. Documentation <strong>of</strong> <strong>the</strong> programming<br />
2000, 1923, 1852, 1786, 1724, 1666, 1613, 1562,<br />
1515, 1470, 1428, 1389, 1351, 1316, 1282, 1250,<br />
1219, 1190, 1163, 1136, 1111, 1087, 1064, 1042,<br />
1020, 1000, 980, 961, 943, 926, 909, 893, 877, 862,<br />
847, 833, 820, 806, 794, 781, 769, 757, 746, 735,<br />
725, 714, 704, 694, 685, 676, 667, 658, 649, 641,<br />
633, 625, 617, 610, 602, 595, 588, 581, 575, 568,<br />
562, 555, 549, 543, 538, 532, 526, 521, 515, 510,<br />
505, 500, 495, 490, 485, 481, 476, 472, 467, 463,<br />
459, 454, 450, 446, 442, 439, 435, 431, 427, 424,<br />
420, 417, 413, 410, 406, 403, 400, 397, 394, 391,<br />
388, 385, 382, 379, 376, 373, 370, 368, 365, 362,<br />
360, 357, 355, 352, 350, 347, 345, 342, 340, 338,<br />
336, 333 };<br />
u8 *pImgBufferData;<br />
u32 BufferSize;<br />
Tx24_ImgJob Job[2], *CompletedJob = 0;<br />
u8 CurrentJob;<br />
u8 CamState = 0; // 0:Uniitialized, 1:Running, 2:Paused<br />
TTimeStamp Tcam1, Tcam2;<br />
vs32 OldErr = 0;<br />
vs32 Ierr = 0, Nerr = 0;<br />
/* Private function prototypes -----------------------------------------------*/<br />
/* Private functions ---------------------------------------------------------*/<br />
void Init_BlobParameters(void) {<br />
// Define blobsearch constraints<br />
BlobSearchSetOption(5, 0, 120, 0, 160);<br />
// Define blobsearch geometry options<br />
//correct tihs<br />
BlobSearchSetColParam(1, 30, 2000, 50, 13000, 26, 153);<br />
BlobSearchSetColParam(2, 30, 2000, 50, 30000, 26, 153);<br />
//my green<br />
//day<br />
// RGBCube_AddCube(0,6,4,8,0,1,1);<br />
//cloudly<br />
//day<br />
// RGBCube_AddCube(0,6,4,8,1,3,1);<br />
// RGBCube_SubCube(3,5,3,5,1,3,1);<br />
//end day<br />
RGBCube_AddCube(0, 6, 4, 6, 2, 3, 1);<br />
RGBCube_SubCube(3, 5, 2, 4, 1, 3, 1);<br />
RGBCube_SubCube(5, 7, 4, 6, 2, 4, 1);<br />
// RGBCube_SubCube(3,5,4,6,2,4,1);<br />
//my orange