Show
Ignore:
Timestamp:
02/23/10 14:34:19 (15 years ago)
Author:
prikryl
Message:

Initialise glob_ut.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/main_loop.cpp

    r819 r832  
    4545        vec glob_dt(Ds._drv()._dsize() ); 
    4646        vec glob_ut(Ds._urv()._dsize() ); 
     47 
     48        // INITIALISATION OF UT 
     49        glob_ut[ 0] = 80; // cycle time 
     50        glob_ut[ 1] = 60; // offset 495 
     51        glob_ut[ 2] = 30; // ut[2]+ut[3]+ut[4] has to sum up to ut[0] 
     52        glob_ut[ 3] = 30; 
     53        glob_ut[ 4] = 20; 
     54    glob_ut[ 8] = 40; // offset 601 
     55        glob_ut[ 9] = 30; // ut[9]+ut[10]+ut[11] has to sum up to ut[0] 
     56        glob_ut[10] = 30; 
     57        glob_ut[11] = 20; 
     58 
    4759        for ( int tK=0;tK<Ds.max_length();tK++ ) { 
    4860                Ds.log_write ( ); // write stuff to