Coder Social home page Coder Social logo

Comments (11)

jitaxis avatar jitaxis commented on July 17, 2024

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.

FrancoisPicardDTI avatar FrancoisPicardDTI commented on July 17, 2024

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.

jitaxis avatar jitaxis commented on July 17, 2024

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.

FrancoisPicardDTI avatar FrancoisPicardDTI commented on July 17, 2024

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.

jitaxis avatar jitaxis commented on July 17, 2024

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.

FrancoisPicardDTI avatar FrancoisPicardDTI commented on July 17, 2024

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.

jitaxis avatar jitaxis commented on July 17, 2024

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.

test_ws.zip

Let me know if you can find anything.
Thank you for the help.

from pylon-ros-camera.

timonehr avatar timonehr commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.