Comments (11)
Update:
When I got the above error I was running it in a docker image.
When I run it on my host PC the ROS node can find the camera.
This doesn't solve the problem due to it still not working in the docker environment. I can run the pylon viewer in the docker image.
Does anyone have thoughts on what I can look into?
@FrancoisPicardDTI Do you have any thoughts on my situation?
from pylon-ros-camera.
Hello @jitaxis
It is then surely due to your network and docker configuration with respect to it.
I cna't help you much about the docker image but do you use a static ip address for the blaze?
from pylon-ros-camera.
Hello @jitaxis It is then surely due to your network and docker configuration with respect to it. I cna't help you much about the docker image but do you use a static ip address for the blaze?
Hi @FrancoisPicardDTI ,
Yeah i have setup a static ip for the camera. I covered most of my setup in the first post on this issue, if you need other info.
I have also got the pylon viewer working in my docker container which i thought would mean the network setup was fine?
Any thoughts on what could be the difference between the pylon viewer and the ROS2 node when running in the docker container?
from pylon-ros-camera.
Hi @jitaxis
No sorry, nothing comes to my mind. I am not a huge user of docker but someone from the community may be able to solve this problem. Try not specifying the user_id. The drive will try to connect to the first available camera.
from pylon-ros-camera.
I have tried that, sadly still didn't work.
Thank you for the help anyway. I'll look into it a bit more.
from pylon-ros-camera.
Hi @jitaxis
Maybe you can send me your docker files, or at least a sub part of them, so that I can test on my side?
from pylon-ros-camera.
Hi @FrancoisPicardDTI,
I have cut down the version of the dockerfile, I tested it and the same issue is happening so it should be good for you to test on.
I use a compose file to build and run my dockerfile.
I have also mounted the pylon SDK instead of copying it to save room for the zip file. The same thing happens whether it is mounted or copied into the image.
You will need to build using:
docker compose build
In another terminal run:
docker exec -it cutdwn_image-base-1 /bin/bash
You will need to source and build the ros2 environment in the terminal.
Let me know if you can find anything.
Thank you for the help.
from pylon-ros-camera.
Hi jitaxis,
Have you tried to set the environment variable GENICAM_GENTL64_PATH
within the container?
For example, for the Dockerfile:
ENV GENICAM_GENTL64_PATH=/opt/pylon/lib/gentlproducer/gtl:$GENICAM_GENTL64_PATH
or within the container:
export GENICAM_GENTL64_PATH=/opt/pylon/lib/gentlproducer/gtl
from pylon-ros-camera.
Related Issues (20)
- Frame Transmission Delay HOT 4
- Chunk Mode Timestamp HOT 6
- Make Blaze camera dependency optional HOT 6
- [Humble] build error: no member named OutlierRemovalTolerance HOT 1
- 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
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.