-
Notifications
You must be signed in to change notification settings - Fork 734
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
Upgraded extract_images_sync script to ROS 2 #919
Conversation
Upgraded extract_images_sync script to ROS2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good - a couple of minor issues noted. I'll also have to test this a bit later in the week once I'm back in the office.
I had inadvertently changed the api signature for cv_bridge.cvtColorForDisplay. Have reverted that change. |
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Thank you, @ahcorde for catching that mistake. |
3 notes from me:
|
And one other question if you don't mind - how did you find out about these issues and decide to work on them? (this is more for calibrating my notions of "what gets people involved in ROS") |
I agree. I did not intend to this change to get included in this. But, since I am fairly new to github, I didn't realize that submitting it to my fork would automatically update the PR. I will try to squash the change on my side and resubmit once this PR is merged.
Yes, the script does not run by itself. In order to run it, you need to create a ros package and copy the script into it. Thats what I did to test the script upto the point where I was able to build and run. I tried out all ros arguments.
I tested the build and run part of the script. I also tested whether all the ros arguments are getting picked up as expected. I couldn't get the camera/image_raw to publish properly the last time I ran the code in ros2, so that part is pending. |
My background is in Image Processing and have started my PhD in Computer Science recently. In discussions with my professor and other TAs, contributing to ROS was one of the things recommended to get ourselves familarized with the ecosystem. ROS-perception felt like the obvious choice for me. Your tag ('good first issue') helped identify the issues that I felt confident enough to handle. I do plan to contribute to this repository as best I can by taking on more issues and hopefully contributing some new features as well. |
I just pushed a commit with the install directive and tested this locally - was able to save images from a Primesense camera with:
I did have to slightly patch the encoding stuff (cv_bridge says 8UC3 isn't valid) - I'll put that in a follow on PR once I look into it in more detail. |
Change Description: The extract_images_sync python script was upgraded to ROS 2. Testing: Upgraded node tested against Iron on Ubuntu 22.04.3 LTS Issue: fixes ros-perception#860 --------- Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Michael Ferguson <[email protected]>
Change Description: The extract_images_sync python script was upgraded to ROS 2.
Testing: Upgraded node tested against Iron on Ubuntu 22.04.3 LTS
Issue: fixes #860