KumarRobotics / flir_gige

A ros driver for flir ax5 gige thermal camera
28 stars 19 forks source link

Updates to this driver - ROS Kinetic, Ubuntu 16.04, eBUS SDK 5.1 #9

Open aurochs1627 opened 5 years ago

aurochs1627 commented 5 years ago

Do we have any updates to this driver to the more recent platforms? Specifically running ROS Kinetic, Ubuntu 16.04, and eBUS SDK 5.1?

versatran01 commented 5 years ago

I think ROS and Ubuntu version shouldn't matter. The only thing that could change is eBUS SDK. Have you tried using it?

aurochs1627 commented 5 years ago

I have, and I think there may be an issue with their new SDK on linux kernel 4.15, which I've emailed them about. On a linux machine with an earlier kernel 4.10, the new eBUS SDK installed successfully; however there were built errors (not recognizing vector type, etc.) with code from this repo. In your README there are some specific instructions regarding symlinks on Ubuntu 14, which ledmy question regarding if the code has been tried on newer platforms and whether instruction need to be changed. I'm also in the process of checking thru depencies and requirements, but any pointers would be great.

versatran01 commented 5 years ago

Can you post the build error message?

ajal-fh commented 5 years ago

Even I face the same issue while building using catkin_make. I got many errors which are all similar of the type: "/usr/include/opencv2/contrib/contrib.hpp:278:44: error: ‘vector’ has not been declared vector& points ) const;" (details : eBUS SDK Version:eBUS SDK v5.0.0.4100, Linux 16.04, ROS Kinetic)

aurochs1627 commented 5 years ago

I received the same errors as the above-mentioned:

[ 98%] Building CXX object flir_gige/CMakeFiles/flir_gige.dir/src/thermal_proc/thermal_proc_node.cpp.o [ 98%] Built target stereo_msgs_generate_messages_py [ 98%] Built target stereo_msgs_generate_messages In file included from /home/iuris/catkin_ws/src/flir_gige/src/thermal_proc/thermal_proc_node.cpp:6:0: /usr/local/include/opencv2/contrib/contrib.hpp:273:23: error: ‘vector’ does not name a type Octree( const vector& points, int maxLevels = 10, int minPoints = 20 ); ^ /usr/local/include/opencv2/contrib/contrib.hpp:273:29: error: expected ‘,’ or ‘...’ before ‘<’ token Octree( const vector& points, int maxLevels = 10, int minPoints = 20 ); ^ The install script I believe was out-dated. The dependencies were also not specified very clearly. Any clarification or update would be great. Thanks!

versatran01 commented 5 years ago

Could you try disabling building thermal_proc node?

aurochs1627 commented 5 years ago

I modified the opencv (version 2.4) contrib.hpp file to get rid of some errors but still more to go - it looks like it's perhaps a different version of opencv you were using? if you knew which exact library was needed that might be a big help.

I will try to disable building thermal_proc later. Not having gone thru the whole thing, can you explain how you were using thermal_proc? From the launch file it looks like you can set min and max temp with running the thermal_proc node? anything significant we would need for the thermal camera using the thermal_proc node? Thanks again!

versatran01 commented 5 years ago

Thermal proc is probably used for visualization eg. a heat map. So it is not nevessary