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

Is Synchronization between camera_info and camera topic necessary #40

Open
SamuelHafner opened this issue Aug 14, 2024 · 1 comment
Open

Comments

@SamuelHafner
Copy link

Hi @christianrauch,

thanks very much for your amazing work in different ros2 packages.

I wanted to ask, why is the synchronization necessary? Because the camera info information will not change during runtime and so we only need the camera info information (camera matrix etc.) once.

Thank you

@christianrauch
Copy link
Owner

I wanted to ask, why is the synchronization necessary? Because the camera info information will not change during runtime and so we only need the camera info information (camera matrix etc.) once.

That depends on your camera. E.g. if your camera has an optical zoom that changes at runtime, your intrinsics have to adapt. Cameras also have the option to be recalibrated at runtime after which they will/should publish the new calibrated intrinsics. I haven't used such cameras myself yet and I also think that changing intrinsics at runtime is quite uncommon. But nevertheless, this is how the interface is rightfully defined and the image_transport::CameraPublisher for example provides functions to publish the camera image and the camera info at the same time.

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