pylon-ros-camera icon indicating copy to clipboard operation
pylon-ros-camera copied to clipboard

Config setting regarding camera_info_url

Open purple-mesh opened this issue 1 year ago • 7 comments

  • ROS version and distro: ROS 2 humble (using the humble branch in the repo)
  • Parameter in pylon-ros-camera/pylon_ros2_camera_wrapper/config/default.yaml

It mentions that:

    #  The CameraInfo URL (Uniform Resource Locator) where the optional intrinsic
    #  camera calibration parameters are stored. This URL string will be parsed
    #  from the ROS-CameraInfoManager:
    camera_info_url: "file:///path/to/my/file.yaml"

But I ended up having to tweak the src/pylon-ros-camera/pylon_ros2_camera_wrapper/launch/pylon_ros2_camera.launch.py launch script to include this as its own LaunchConfiguration.

I think I am missing something here, since I assumed that no further tweaks would be required to load in the camera intrinsic matrix?

purple-mesh avatar Jul 24 '23 01:07 purple-mesh

Hello @purple-mesh Can you then attached the tweaked launch file? Did you move forward with this issue? Regards, Francois

FrancoisPicardDTI avatar Sep 19 '23 08:09 FrancoisPicardDTI

Hi @FrancoisPicardDTI

The updated version of the launch file which I use now is available here

No more issues after changing to use this.

But let me know if there was another way this was meant to be used.

purple-mesh avatar Sep 20 '23 01:09 purple-mesh

Hi @purple-mesh Trying to reproduce the issue here, without success for now.

  • In my .yaml file: camera_info_url: "file:///ros2/temp/basler_usb_with_xxmm_lens_calibrationdata_2010_01_01/ost.yaml"
  • When I am starting the driver, in my terminal: [pylon_ros2_camera_wrapper-1] 1702047125.006242135 [my_camera.pylon_ros2_camera_node] [INFO] camera calibration URL: file:///ros2/temp/basler_usb_with_xxmm_lens_calibrationdata_2010_01_01/ost.yaml

Do you see this message in your teminal without your hack?

FrancoisPicardDTI avatar Dec 08 '23 13:12 FrancoisPicardDTI

Hi @FrancoisPicardDTI thanks for looking into this, sorry I haven't had a chance to get back to testing this, but will aim to test this again in Jan 2024.

purple-mesh avatar Dec 21 '23 02:12 purple-mesh

Hi @purple-mesh Did you have the chance to test on your side?

FrancoisPicardDTI avatar Feb 22 '24 13:02 FrancoisPicardDTI

Hello,

Are there any updates regarding this? I am facing the same issue using ROS2 Humble.

jordigc2 avatar Mar 18 '24 16:03 jordigc2

Apologies @FrancoisPicardDTI for the belated response. I have since been re-assigned to another project for now, so no longer have access to the original test-rig and computer(s).

@jordigc2 I presume you have the same issue, and were you able to fix it by updating the launch file / launch script?

purple-mesh avatar Apr 23 '24 02:04 purple-mesh