0,0 → 1,43 |
#define POINTS 100 |
|
// definice krizovatek |
struct cros_t { |
int id; |
double n; |
double e; |
unsigned int dia; |
} cros [POINTS] = |
{ |
//{1,50.105205, 14.427857,6}, |
//{2,50.105177,14.427805,6}, |
|
//{1,50.105460, 14.428012,20}, |
//{2, 50.105723, 14.427923,20}, |
//{3, 50.105872, 14.427731,20}, |
/* |
|
{4, 50.105975, 14.427224,30}, |
{5, 50.105651, 14.427026,10}, |
|
{6, 50.105481, 14.427033,10}, |
*/ |
{7, 50.105218, 14.427115,10}, |
{8, 50.105403, 14.426855,10}, |
{9, 50.105836, 14.426683,10}, |
{10, 50.105826, 14.427683,10}, |
{0,0,0,0} |
}; |
|
// definice vektoru po ceste |
struct way_t { |
int id; |
double n; |
double e; |
unsigned int dia; |
unsigned char azimut; |
int smer;// 1=levo, 2=pravo |
} way [POINTS] = |
{ |
{1,49.835265, 18.161128,5, 200,1}, |
{0,0,0,0} |
}; |