Skip to content

Commit

Permalink
Nearest neighbor search for 8 points on 2 z planes as inputs for inte…
Browse files Browse the repository at this point in the history
…rpolation (#83)

* Science data interpolation using raw matrix for depth slice search
* incorporate updated ConvertLatLonToCart depth
* clean up FindInterpolators() and SearchInDepthSlice()
* Found 4 NNs in each of 2 z slices holding 1st and 2nd NNs
* add headers to organize the gazillion member fields. reorder fns
* decrease how often interpolation is called
* decrease how often interpolation is called, so sci data vis can be shown
* return 2 sets of 4 points from FindInterpolators()
* refactor to use pcl PassThrough filter
* Use ExtractIndices filter in place of 2nd CreateDepthSlice call for neighbors search
Signed-off-by: Mabel Zhang <[email protected]>
  • Loading branch information
mabelzhang authored Jan 28, 2022
1 parent a573a08 commit 5cb73b0
Show file tree
Hide file tree
Showing 2 changed files with 427 additions and 12 deletions.
10 changes: 10 additions & 0 deletions lrauv_ignition_plugins/data/interpolation_test.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ elapsed_time_second,latitude_degree,longitude_degree,depth_meter,sea_water_tempe
0,-0.00003,-0.00003,0,0,0,100,-1,0
0,0.00000,-0.00003,0,0,0,100,-1,0
0,0.00003,-0.00003,0,0,0,100,-1,0
0,-0.00009,-0.00003,1,0,0,300,-1,0
0,-0.00006,-0.00003,1,0,0,300,-1,0
0,-0.00003,-0.00003,1,0,0,300,-1,0
0,0.00000,-0.00003,1,0,0,300,-1,0
0,0.00003,-0.00003,1,0,0,300,-1,0
0,-0.00009,0.00000,0,0,0,200,-1,0
0,-0.00006,0.00000,0,0,0,200,-1,0
0,-0.00003,0.00000,0,0,0,200,-1,0
Expand All @@ -16,3 +21,8 @@ elapsed_time_second,latitude_degree,longitude_degree,depth_meter,sea_water_tempe
0,-0.00003,0.00003,0,0,0,300,-1,0
0,0.00000,0.00003,0,0,0,300,-1,0
0,0.00003,0.00003,0,0,0,300,-1,0
0,-0.00009,0.00003,1,0,0,100,-1,0
0,-0.00006,0.00003,1,0,0,100,-1,0
0,-0.00003,0.00003,1,0,0,100,-1,0
0,0.00000,0.00003,1,0,0,100,-1,0
0,0.00003,0.00003,1,0,0,100,-1,0
Loading

0 comments on commit 5cb73b0

Please sign in to comment.