robot-control-stack icon indicating copy to clipboard operation
robot-control-stack copied to clipboard

read depth data from realsense cam

Open suman1209 opened this issue 2 years ago • 0 comments

Currently only rgb data is read from camera.cpp. This issue is for retrieving depth along with rgb from the mujoco camera in simulation. Depth information can be read from the mujuco cameras.(reference).

Plan of action is as follows:

  1. Implement depth in camera.cpp. Will need to create a DepthFrame type similar to ColorFrame and add it to the frameset which will be collected in the buffer.

  2. Add depth to FrameSet rcsss/camera/sim.py

  3. Final testing ensure that a depth image is generated from the wristcam examples/fr3.py and validate that a proper depth image is generated using a simple object in the scene and a top down view camera.

References:

  1. realsense-depth

suman1209 avatar Sep 24 '24 14:09 suman1209