goodrobots / vision_landing

Precision landing using visual targets
GNU General Public License v3.0
202 stars 71 forks source link

Add depth scaling parameter #71

Closed fnoop closed 7 years ago

fnoop commented 7 years ago

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