Unverified Commit 9ec0459c authored by kledmundson's avatar kledmundson Committed by GitHub
Browse files

Merge pull request #150 from dcookastro/LroLidar_Infrastructure

Fixed lrolola2isis to not write out Lidar points without simultaneous…
parents 29b61c46 256d100b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include "Distance.h"
#include "FileName.h"
#include "ID.h"

#include "IException.h"
#include "iTime.h"
#include "Latitude.h"
@@ -168,7 +169,8 @@ void IsisMain() {
    }
    // end image loop
    
    if (lidarPoint->GetNumMeasures() <= 0) {
      if (lidarPoint->GetNumMeasures() <= 0 ||
          lidarPoint->snSimultaneous().size() <=0) {
      continue;
    }
    
+7 −0
Original line number Diff line number Diff line
@@ -25,6 +25,13 @@
      screen measures that are off the image, and both point (lat/lon/radius)
      and range constraints.  Also added point type and set it to Constrained.
    </change>
    <change name="Debbie Cook" date="2018-04-16">
      Fixed the case where a Lidar point has no simultaneous measures on
      any images in the input list.  In this case do not write out the
      point because it has no constraints.  In the future, the
      functionality may change to include points without simultaneous
      measures in the bundle adjustment.  References #5343.
    </change>
  </history>

  <category>