Open gongjing1996 opened 5 years ago
In which file and which line ?
In which file and which line ?
main.cpp line251
In which file and which line ?
main.cpp line251
in main.cpp line 250, you can print distanceBin * 12 + angleBin
and skip that cycle if distanceBin * 12 + angleBin > 60
distanceBin * 12 + angleBin is not greater than 60. It's a negative number -3,so I break and return histogram,and then it get the initialization error in lap.cpp,line 174.
distanceBin * 12 + angleBin is not greater than 60. It's a negative number -3,so I break and return histogram,and then it get the initialization error in lap.cpp,line 174.
maybe angleBin
is a negative one, add abs
, have a try.
it doesn't work. Thank you very much all the same!
test it on win10+VS2015+opencv3.2.0