Comments (11)
Facing the same issue and the solution by @whoutman works for me. Somehow the cmake cannot find the library but the Pylon_FOUND
is set to 1. So the if case for the FindPylon.cmake has been skipped.
I have modified the if case to the following also and managed to compiled the packages with pylon 7.3 👍
if (NOT ${Pylon_FOUND} OR "$ENV{Pylon_INCLUDE_DIRS}" STREQUAL "")
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindPylon.cmake")
endif()
from pylon-ros-camera.
Just stumbled upon this, as well. Try using pylon SDK version 6.x. on 7.x they changed the way the Pylon config is exposed which is not understood by this package here.
from pylon-ros-camera.
I am experiencing the same error. Downgrading to pylon 6.3 worked.
from pylon-ros-camera.
Hello
I integrated the fixes suggested by @nachovizzo, PR #179.
Does it solve the issue?
Regards,
Francois
from pylon-ros-camera.
Yeah I had to move to 7.x because the 6.x has no ARM Debian package. I find it weird how in the humble
branch README it says that we should use 7.2 or later
from pylon-ros-camera.
Unfortunately I bumped into this issue as well.
It seems that the cmake/FindPylon.cmake is not properly included in CMakeLists.txt, as I was able to compile when commenting out the if-statement around the include of this cmake-file, see https://github.com/basler/pylon-ros-camera/blob/humble/pylon_ros2_camera_component/CMakeLists.txt#L39
With this if-statement, no output was generated for the messages in the lines below (I commented those out, see https://github.com/basler/pylon-ros-camera/blob/humble/pylon_ros2_camera_component/CMakeLists.txt#L41-L43), while the following output was reported without the if-statement:
-> Pylon include directories: /opt/pylon/include
-> Pylon library directories: /opt/pylon/lib
-> Pylon libraries: pylonbase;pylonutility;GenApi_gcc_v3_1_Basler_pylon;GCBase_gcc_v3_1_Basler_pylon
Did I forget to run a specific script? Running e.g.
source /opt/pylon/bin/pylon-setup-env.sh /opt/pylon
does not seem to do the job.
As a reference:
pylon version 7.3.0 (downloaded deb package installer) with a x86 (64 Bit) architecture
from pylon-ros-camera.
I am experiencing the same error. Downgrading to pylon 6.3 worked.
For me this worked as well
from pylon-ros-camera.
Facing the same issue and the solution by @whoutman works for me. Somehow the cmake cannot find the library but the
Pylon_FOUND
is set to 1. So the if case for the FindPylon.cmake has been skipped.I have modified the if case to the following also and managed to compiled the packages with pylon 7.3 +1
if (NOT ${Pylon_FOUND} OR "$ENV{Pylon_INCLUDE_DIRS}" STREQUAL "") include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindPylon.cmake") endif()
Worked for me. :)
from pylon-ros-camera.
Facing the same issue and the solution by @whoutman works for me. Somehow the cmake cannot find the library but the
Pylon_FOUND
is set to 1. So the if case for the FindPylon.cmake has been skipped.I have modified the if case to the following also and managed to compiled the packages with pylon 7.3 +1
if (NOT ${Pylon_FOUND} OR "$ENV{Pylon_INCLUDE_DIRS}" STREQUAL "") include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindPylon.cmake") endif()
Work for me too.
from pylon-ros-camera.
@FrancoisPicardDTI, any plan on fixing this? It would be ideal to be able to build the ROS 2 wrapper without having to patch the build system.
On the README.md it says that Pylon SDK 7.2+ should be installed but this conflicts with the way of finding the package. The provided solution by @Alex-Beh works so seems to be easy to include in the ros2 branch.
What do you think? I'm happy to open a PR to fix this
from pylon-ros-camera.
Commenting out the if statement also worked on ROS noetic!
from pylon-ros-camera.
Related Issues (20)
- Blaze Camera not being found by ROS2 node HOT 11
- can't found pylon_camera pylon_camera_node HOT 4
- [Humble] Boost COMPONENTS libraries getting replaced by pylon_ros2_camera_component HOT 3
- No "running" status message when using specific device user id HOT 2
- Driver installation problem HOT 5
- AutofuntionROI Offset OutOfRangeException HOT 4
- Frame rate not adjusting with new ROI HOT 2
- multiple USB cameras retrieveresult delay HOT 1
- Question about function PylonInitialize HOT 5
- pylon_camera fps not reaching set frame_rate HOT 8
- Camera Config help for short range imaging HOT 2
- Connection multiple cameras ROS2 and publish images HOT 2
- ACE cameras PTP synchronization (acA_1920-40gc) HOT 2
- No available camera. Keep waiting and trying... HOT 2
- Synchronization error with image timestamp
- [Humble] Don't waste time on blocking image data readout HOT 4
- How to extract the different intensities from the polar camera rostopic /image_raw HOT 3
- Merge PR168_change_setLineMode_behavior into Humble HOT 1
- Cannot connect and get images from Blaze over a router HOT 3
- BUG: Image Encoding Parameter is not read as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylon-ros-camera.