Spinnaker SDK driver and ROS Noetic / Ubuntu 20.04
AnsweredHi everyone,
I'm trying to install the ros-drivers for spinnaker in Ros Noetic using this guide: https://www.flir.com/support-center/iis/machine-vision/application-note/using-ros-with-spinnaker/
It downlaods the drivers from the github repository https://github.com/ros-drivers/flir_camera_driver.
However, when I try to compile run catkin_make, it gives the error:
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 3 packages in topological order:
-- ~~ - flir_camera_description (plain cmake)
-- ~~ - flir_camera_msgs (plain cmake)
-- ~~ - spinnaker_camera_driver (plain cmake)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (message):
This workspace contains non-catkin packages in it, and catkin cannot build
a non-homogeneous workspace without isolation. Try the
'catkin_make_isolated' command instead.
Call Stack (most recent call first):
CMakeLists.txt:69 (catkin_workspace)
Asking ChatGPT for help, it says the following:
"From the provided package.xml
, it appears that flir_camera_msgs
is using ament_cmake
as its build tool, which means it's designed for ROS 2, not ROS 1 (which catkin_make
and catkin_make_isolated
are used for)."
So was something updated in the github repository that made it unusable for Ros Noetic? Is there something I can do to circumvent the problem? Is there an earlier version lying around somewhere?
-
Official comment
Of course I solve this the minute I post somthing (:
For future reference, anyone experiencing the same problem with ROS Noetic should clone from the noetic-devel branch.
That is, use 'git clone -b noetic-devel https://github.com/ros-drivers/flir_camera_driver.git'
-
Thank you Mathias for posting this and the solution. It seems the code was branched last week and we were not aware of this.
We have made the appropriate change to our application note, so I hope this can help others in the future.
Thank you again for bringing this to our attention.
Demos
0
Please sign in to leave a comment.
Comments
2 comments