Subversion Repositories svnkaklik

Rev

Rev 377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 377 Rev 379
Line 1... Line 1...
1
switch (cros[n].id)
1
switch (cros[n].id)
2
{
2
{
3
    case 1:
3
    case 1:
4
        TL(200);
4
//        TL(20);
-
 
5
        azimut=read_azimut_mag();
-
 
6
        if ((azimut>0)&&(azimut<45))
-
 
7
        {
-
 
8
            if(azimut>20) SlowLeft(); else SlowRight();
-
 
9
            korekce=1;
-
 
10
        };
-
 
11
//        last_cross=cros[n].id;
5
        break;
12
        break;
-
 
13
    case 10:
-
 
14
        TR(250);
-
 
15
        last_cross=cros[n].id;
-
 
16
        break;
6
    case 2:
17
    case 3:
-
 
18
        TR(195);
-
 
19
        last_cross=cros[n].id;
-
 
20
        break;
-
 
21
    case 4:
-
 
22
//        TL(194);
-
 
23
        if ((lus>100)&&(lus<300)) SlowLeft();
-
 
24
            korekce=1;
-
 
25
//        last_cross=cros[n].id;
-
 
26
        break;
-
 
27
    case 5:
-
 
28
        TL(176);
-
 
29
        last_cross=cros[n].id;
-
 
30
        break;
-
 
31
    case 6:
-
 
32
        TL(168);
-
 
33
        last_cross=cros[n].id;
-
 
34
        break;
-
 
35
    case 7:
-
 
36
        TR(230);
-
 
37
        last_cross=cros[n].id;
-
 
38
        break;
-
 
39
    case 8:
-
 
40
        TL(38);
-
 
41
        last_cross=cros[n].id;
-
 
42
        break;
-
 
43
    case 9:
-
 
44
        TL(1);
-
 
45
        last_cross=cros[n].id;
7
        break;
46
        break;
8
};
47
};
-
 
48