I am working with the python ros2 package. I am receiving depth data on the topic
/zed2i/zed_node/depth/depth_registered but those values are
8-bit int array as per link. I am assuming I need to convert those values to depth using some method but not sure how.
Thanks in advance for the help.
You need to unpack each 8 bits chunk, similar to this but in python zed-pcl/main.cpp at master · stereolabs/zed-pcl · GitHub
I guess you need to use this struct — Interpret bytes as packed binary data — Python 3.10.4 documentation