Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to Basler A2a2600-20gcPRO REV: 12 through default.yaml #226

Closed
tui-abdul opened this issue Jun 13, 2024 · 2 comments
Closed

Comments

@tui-abdul
Copy link

Describe what you want to implement and what the issue & the steps to reproduce it are:

I want to specify user id via config_file, which in this case is default.yaml, I have tried to configure it using following ros2 command "startup_user_set:=Default" but i face the following error.

pylon_ros2_camera_wrapper-1] 1718269086.782112861 [basler.pylon.ros2.pylon_ros2_gige_ace2_camera] [ERROR] Error applying camera specific startup setting for GigE cameras: Parameter not found in CFloatParameter::GetMax. (No node attached.)
[pylon_ros2_camera_wrapper-1] 1718269086.782186581 [basler.pylon.ros2.pylon_ros2_camera_node] [ERROR] Error while applying the user-specified startup settings (e.g., mtu size for GigE, ...) to the camera!
[pylon_ros2_camera_wrapper-1] 1718269086.782263233 [basler.pylon.ros2.pylon_ros2_camera_node] [ERROR] Error when trying to init and register. Shutting down now.

This problem is already reported [https://github.com//issues/66#issue-787006921]

Hardware setup description

Ubuntu 22.04 Jammy, x86_64,
pylon

Runtime information

ROS distribution is Humble and and i have installed Pylon-ros-camera Humble branch.

Is your camera operational with the Basler pylon Viewer on your platform?

Yes

@FrancoisPicardDTI
Copy link
Collaborator

Hello @tui-abdul
Thank you for reporting this issue. I am sorry I don't manage to reproduce it. Can you tell me a bit more about how you set the startup_user_set. Do you do it through the default.yaml file, the launch file itself og the launch command line arguments?
Beware that some parameters implemented by the driver, like for instance the parameter startup_user_set, can be set through 1. the pylon_ros2_camera_wrapper/config/default.yaml user parameter file, 2. the pylon_ros2_camera.launch.py driver launch file, and 3. the command line arguments of the launch command to start the driver. A parameter value set as an argument of the launch command to start the driver will overwrite the value set in the driver launch file itself, that will overwrite the value set in the user parameter file.

@FrancoisPicardDTI
Copy link
Collaborator

I am closing the issue for now, as there's no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants