Coder Social home page Coder Social logo

version for ROS2-foxy about pylon-ros-camera HOT 13 CLOSED

basler avatar basler commented on July 17, 2024 6
version for ROS2-foxy

from pylon-ros-camera.

Comments (13)

pablo-quilez avatar pablo-quilez commented on July 17, 2024 5

Hello,

I think makes a lot of sense to port the driver to ROS2. However, the necessary effort to do it is relative high. Therefore it is not a task which can start immediately. I keep open the issue for the future.

Cheers,
Pablo

from pylon-ros-camera.

jmarsik avatar jmarsik commented on July 17, 2024 4

I have a good message for all of you who are looking for Basler camera driver for ROS2. @fhwedel-hoe with my little help and testing updated his "instant" driver package originally meant only for USB cameras so that it now works without a problem with both USB and GigE cameras! It has a few nice features:

  • camera configuration through PFS files
  • camera selection by ROS2 parameters
  • zero-copy handling of images
  • possibility to use ROS2 node composition to create high-performance image pipelines inside a single node

The driver was moved to a new repository with a name without "usb" in it.

Check it out here: https://github.com/fhwedel-hoe/pylon_instant_camera

from pylon-ros-camera.

FrancoisPicardDTI avatar FrancoisPicardDTI commented on July 17, 2024 3

The ROS2 camera driver is now available through the branch galactic. I am closing this issue.

from pylon-ros-camera.

MCP-TTC avatar MCP-TTC commented on July 17, 2024 1

I agree, a ROS2 driver is a key component for ROS2 in industrial applications

from pylon-ros-camera.

marccastor2 avatar marccastor2 commented on July 17, 2024

Hi, I'm interested into your question, did you find any solution?

from pylon-ros-camera.

cf95 avatar cf95 commented on July 17, 2024

Hi, I didn't find one yet, but i wasn't searching or developing one. I guess an easy solution would be to use the ros1 bridge (drawback: you would need a full ros1 installation on your device) or look into the code here, what has to be modified to get it working with ros2. Anyhow, depending on when you would need it, I have to look into this for my master thesis, but it may take a month or two until I get to the point, where I really need it. I can then report my solution here

from pylon-ros-camera.

bigrobinson avatar bigrobinson commented on July 17, 2024

I second this emotion. ROS2 drivers would be great.

from pylon-ros-camera.

fhwedel-hoe avatar fhwedel-hoe commented on July 17, 2024

In the mean-time, I adapted my very basic package. It has little features, but might be interesting for anyone who seeks a simple solution which "just works" for now.

Edit: With fhwedel-hoe/pylon_usb-instant-camera@57cf759, I am now employing the IBufferFactory (great design choice in the SDK, kudos to the developers!) which allows me to avoid copying the image data. Now the entire image processing pipeline can work on shared memory, which has great performance benefits in ROS 2.

from pylon-ros-camera.

jmarsik avatar jmarsik commented on July 17, 2024

Is there any progress in this matter? We would also benefit from having a ROS2 native driver for Basler cameras.

from pylon-ros-camera.

fhwedel-hoe avatar fhwedel-hoe commented on July 17, 2024

I could use some input regarding my driver, especially when it comes to performance. It does not support any kind of dynamic reconfiguration so it might be unsuitable for your needs.

from pylon-ros-camera.

jmarsik avatar jmarsik commented on July 17, 2024

@fhwedel-hoe I think it would be ok. But our camera is connected through GigE Vision :(

from pylon-ros-camera.

jmarsik avatar jmarsik commented on July 17, 2024

@fhwedel-hoe would it be complicated to add basic support for GigE Vision cameras to your driver?

from pylon-ros-camera.

fhwedel-hoe avatar fhwedel-hoe commented on July 17, 2024

@jmarsik Code-wise, it is trivial. I replaced "Usb" with "GigE" and https://github.com/fhwedel-hoe/pylon_usb-instant-camera/tree/ros2_gige compiles. Since I do not have a Basler GigE camera at my hands, I cannot run tests so I have no idea whether this actually works. Feel free to give it a try (the package itself is still called pylon_usb_instant_camera with the PylonUSBCameraNode executable named node – I did not make the replacement in the names). Feel free to open an issue https://github.com/fhwedel-hoe/pylon_usb-instant-camera for further inquiries so we can keep this discussion focused on the official driver.

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.