-
Notifications
You must be signed in to change notification settings - Fork 195
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
[Feature-Request] Use ImageTransport to Handle Publishing Images #653
Comments
Hi, image publishing actually uses image_transport's CameraPublisher (which uses IT plugins) by default. So in case of MJPEG encoding on DAI side the messages are automatically converted (this is not possible unfortunately with H264 frames), separate publishers are created in two different scenarios
|
Thanks for the quick reply. To clarify though, are you saying that enabling the
Otherwise, for the default So I then have a question regarding the depth compression. It seems like with the |
So looking into this more I think I see an "issue" with the depth publishing due to what I was alluding to above. With With I think if the |
Yes
Yes, based on which IT plugins you have installed.
Yes, AFAIK compressedDepth works only with 16bit/float depth values and in case of using low_bandwidth mode for stereo we can only use 8bit (this is a limitation on the device side, might get resolved in some future firmware release). Low bandwidth mode also prevents using subpixel enhancement which improves depth precision. |
Ah ok, so this is a known limitation. Is there an existing feature request for 16bit depth with Also, if that's the case, if we had |
We are currently working on V3 version of DepthAI firmware which might include such features (and many more!) but at this moment it's hard to give ETA due to large amount of work still needed. Also, it might be possible that this feature will be RVC4 (OAK4) exclusive.
|
Is that the case though? I'm using the latest release (
I do not see any data being published on |
why
:I have been playing with the relatively new Compressed Image Publisher feature (#580). This feature seems to not take advantage of the
ImageTransport
class that automatically handles encoding, publishing and tweaking parameters. For example you are not taking advantage of thecompressedDepth
image transport that is included inimage_transport_plugin
package that automatically encodes depth images and creates ROS parameters to tweak the publisher on the fly. Currently there are no default parameters created for the compressed images that you would typically expect (ros-perception/image_transport_plugins#140)what
:Publishing should be handled by the
ImageTransport
, see examples here: (https://github.com/ros-perception/image_transport_tutorials/tree/humble).The text was updated successfully, but these errors were encountered: