Added camera_info publishing synced with image publishing. - #18
Conversation
|
It looked like this was already being done for the Actually, why does pylon_camera do its own image rectification anyway? Wouldn't it be simpler for pylon_camera to just publish Also, since the calibration is going to be different for every camera and every lens, I think it probably doesn't make sense to include a default here. If the camera hasn't been calibrated, there shouldn't be any rectified images published. |
|
Thanks @basti35 for your contribution, but I think we won't merge you're PR. |
|
Sorry for the delay of my reply. |
|
Ok, I got the point. But is that the standard way this is done? Publishing the |
|
Publishing exactly one CameraInfo for every image, although it seems a bit odd, actually works quite well (in my experience). ROS nodes that use calibrated images know to read both the |
|
@basti35 thank you again for providing this PR. In order to get this merged can you please:
If you are no longer interested in this PR please consider to give the maintainers access to your branch. |
I added also a default calibration file (for a Basler acA1600-20uc with a 8mm lens from computar).
The camera_info msg is very cheap, but sometimes is necessary.