How to decode ROSBridge data types

asked 2021-09-10 07:37:51 -0600

Bender_From_Futurama gravatar image

I am subscribing to different sensor messages from my JS client using ROSlibjs.

I am having a hard time decoding some messages.

How can I decode a compressed Depth Image and a PointCloud2 message?

The Depth message has the following meta data:

format: '16UC1; compressedDepth png'

So far I have only had success with decoding jpeg compressed images

edit retag flag offensive close merge delete