diff options
author | Miller | 2017-07-04 23:34:11 -0500 |
---|---|---|
committer | Miller | 2017-07-04 23:34:11 -0500 |
commit | 4ad4e12cb2df5ac031eaf759517179a8e0cd87af (patch) | |
tree | 8708f575c27c60fc8fe346dc903f1fbf97382ccc /src/main.cpp | |
parent | c4356f7eb431649505cf2bf10b2198af76f90eae (diff) | |
download | refslam-4ad4e12cb2df5ac031eaf759517179a8e0cd87af.zip refslam-4ad4e12cb2df5ac031eaf759517179a8e0cd87af.tar.gz |
set ransac thresh and covbias
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 85ccf55..e64c0c8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,11 @@ double acc_std = 0.002835; double ang_std = 0.008019; double acc_bias_std = 0.00891; +double canoecenter = 0.62; +double canoeheight = -0.46; + +double ransac_li_threshold, ransac_hi_threshold,covbias; + using std::cout; using std::endl; using std::cerr; @@ -462,8 +467,9 @@ main(int argc, char **argv) // read params file FILE *pfin; pfin = fopen(argv[2], "r"); - fscanf(pfin,"%lf",&canoecenter); - fscanf(pfin,"%lf",&canoeheight); + fscanf(pfin,"%lf",&ransac_li_threshold); + fscanf(pfin,"%lf",&ransac_hi_threshold); + fscanf(pfin,"%lf",&covbias); fclose(pfin); // Read sensors from file int i=0; |