Depth scaling has to be set before synthetic stream is started. Set to 5000 micrometers as a default, should be configurable as it depends on the environment and situation as to usefulness:
dev->set_option(rs::option::r200_depth_units, 5000); // Set depth units in micrometers - 1000 = mm scale, 10000 = cm scale
Depth scaling has to be set before synthetic stream is started. Set to 5000 micrometers as a default, should be configurable as it depends on the environment and situation as to usefulness: