Skip to content
Snippets Groups Projects
Commit a094dcba authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Allow search distance config

parent 32f4f5e7
No related branches found
No related tags found
No related merge requests found
Pipeline #15223 passed
......@@ -106,7 +106,7 @@ bool ILW::process(ftl::rgbd::FrameSet &fs, cudaStream_t stream) {
_phase0(fs, stream);
params_.range = 0.05f;
params_.range = value("search_range", 0.05f);
for (int i=0; i<iterations_; ++i) {
_phase1(fs, value("cost_function",3), stream);
......@@ -114,7 +114,7 @@ bool ILW::process(ftl::rgbd::FrameSet &fs, cudaStream_t stream) {
_phase2(fs, motion_rate_, stream);
//}
params_.range *= 0.9f;
params_.range *= value("search_reduce", 0.9f);
// TODO: Break if no time left
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment