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

Add support for RVL depth compression #1257

Open
matlabbe opened this issue Dec 16, 2024 · 0 comments
Open

Add support for RVL depth compression #1257

matlabbe opened this issue Dec 16, 2024 · 0 comments

Comments

@matlabbe
Copy link
Member

matlabbe commented Dec 16, 2024

Once introlab/rtabmap#1409 is merged, rtabmap will be able to decompress RVL depth images internally. So rgbd_sync, rgbd_relay and rgbd_split could now use RVL format when compression is requested.

For other nodes receiving rtabmap_msgs/RGBDImage topics, MsgConversion would need to be updated to support RVL.

Note that when using rtabmap::uncompress with RVL format, it assumes it has a header DEPTHRVL at the beginning of the array of bytes. In image_transport compressed depth plugins, they don't add a signature to the array of bytes (RVL format is set in the encoding field), so we should make sure to add/remove that signature if needed. If we process RVL data directly from ROS, we could use the new rtabmap::RvlCodec class directly to compress/uncompress data without DEPTHRVL signature.

Note that rtabmap library will use RVL by default internally, independently of this PR.

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

1 participant