Changeset 18689 for trunk/Mars


Ignore:
Timestamp:
12/18/16 21:11:13 (8 years ago)
Author:
Daniela Dorner
Message:
ignore values that do not make sense
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/lidar.C

    r18524 r18689  
    2727    while (file.GetNextRow())
    2828    {
     29        //ignore strange values
     30        if (t3<0 || t3>1.5)
     31            continue;
     32
     33        //handle overflow in time
    2934        if (time<50000)
    3035            time += 682607./45;
     
    6469        return;
    6570    }
    66     if (beg-lastt>time-end && (time-end)*24*3600<10*60)
     71    if (beg-lastt>time-end && (time-end)*24*3600<10*60 && t3>=0)
    6772    {
    6873        cout << "result " << t3 << " " << t6 << " " << t9 << " " << t12 << endl;
Note: See TracChangeset for help on using the changeset viewer.