-
Notifications
You must be signed in to change notification settings - Fork 598
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
Multiple cameras + compression #248
Conversation
Signed-off-by: Evan Flynn <evanflynn.msu@gmail.com>
@brendoncintas I like this idea of making it easier for users to launch multiple cameras at once. I've taken your branch and made one small improvement to it by making the config into a class that should make it dead simple for people to add new cameras to the launch file. You can see the changes I made here. To add new cameras to the launch file, now all that is needed is to add a few lines here that adds a new
If you like them as well, then I can add them to this branch I think and we can go ahead with this PR. Let me know what you think! |
That is an incredible idea, and I'm all for it. Go ahead and add them to the branch and go ahead with the PR. |
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.
This should be good to go!
@brendoncintas thanks, I cleaned up the commits and fixed the linter errors. Lets wait for CI to run again as it should pass now |
Signed-off-by: Evan Flynn <evanflynn.msu@gmail.com>
Signed-off-by: Evan Flynn <evanflynn.msu@gmail.com>
@brendoncintas thanks for the contribution! 🙏🏼 |
Glad to have been a part of it! |
I noticed that for the demo_launch, the support is mostly for one USB camera. I've modified the launch file to include other cameras, and remapped each
image_raw
andimage_compressed
topic to be on a per-camera basis rather than all of them being on one topic.A note about this:
show_image.py
script, so I removed it from the launch file. This could be added back if needed.Also, I've cleaned up the code in the launch file to make each camera an individual node within a group, then launch the whole group with LaunchDescription, rather than each node being launched individually. Should make the code look a little cleaner.
FROM #247. I didn't PR the right branch. Whoops.