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

Camera connect retry, address issue #21 #23

Closed

Conversation

shaun-edwards
Copy link
Contributor

Work in progress, looking for feedback....DO NOT MERGE

This PR addresses issue #21 and includes PR #22.

The node now waits for the camera to be connected before starting up. I made changes to the CameraPtr AvtVimbaCamera::openCamera(std::string id_str) method in src/avt_vimba_camera.cpp.

I'm looking for feedback on these changes. I am not a fan of using ros::ok(), since it does introduce ROS at a layer where is probably doesn't belong. However, without this, the node does not respond properly to a Ctrl-C. I also do not like how the vimba_system must be restarted. I'm not familar with the API, so this was basically a result of guessing and testing. However, without the restart, the system never recognizes a camera, even once it's plugged in.

@miquelmassot
Copy link
Contributor

Closed from 63f8687.

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

Successfully merging this pull request may close these issues.

2 participants