Configuration file load
Hello, I saved in the RealSenseViewer the current settings to file, then, when I try to load the file I've just saved, I get this error: Unknown in rs2_load_json(dev:0x7f9d500008c0, json_content:0x2de4000, content_size:3976): Operation failed with error code=-6.
In the same way I'm not able to open it in my C++ code.
Any suggestion?
Thank you
Can you post the file here?
Hello, this is a config json file saved by the Realsense viewer that after does not work:
{ "aux-param-autoexposure-setpoint": "1536", "aux-param-colorcorrection1": "0.298828", "aux-param-colorcorrection10": "0", "aux-param-colorcorrection11": "0", "aux-param-colorcorrection12": "0", "aux-param-colorcorrection2": "0.293945", "aux-param-colorcorrection3": "0.293945", "aux-param-colorcorrection4": "0.114258", "aux-param-colorcorrection5": "0", "aux-param-colorcorrection6": "0", "aux-param-colorcorrection7": "0", "aux-param-colorcorrection8": "0", "aux-param-colorcorrection9": "0", "aux-param-depthclampmax": "65536", "aux-param-depthclampmin": "0", "aux-param-disparityshift": "0", "controls-autoexposure-auto": "True", "controls-autoexposure-manual": "8500", "controls-color-autoexposure-auto": "True", "controls-color-autoexposure-manual": "166", "controls-color-backlight-compensation": "0", "controls-color-brightness": "0", "controls-color-contrast": "50", "controls-color-gain": "64", "controls-color-gamma": "300", "controls-color-hue": "0", "controls-color-power-line-frequency": "3", "controls-color-saturation": "64", "controls-color-sharpness": "50", "controls-color-white-balance-auto": "True", "controls-color-white-balance-manual": "4600", "controls-depth-gain": "16", "controls-laserpower": "150", "controls-laserstate": "on", "ignoreSAD": "0", "param-autoexposure-setpoint": "1536", "param-censusenablereg-udiameter": "9", "param-censusenablereg-vdiameter": "3", "param-censususize": "9", "param-censusvsize": "3", "param-colorcorrection1": "0.298828", "param-colorcorrection10": "0", "param-colorcorrection11": "0", "param-colorcorrection12": "0", "param-colorcorrection2": "0.293945", "param-colorcorrection3": "0.293945", "param-colorcorrection4": "0.114258", "param-colorcorrection5": "0", "param-colorcorrection6": "0", "param-colorcorrection7": "0", "param-colorcorrection8": "0", "param-colorcorrection9": "0", "param-depthclampmax": "65536", "param-depthclampmin": "0", "param-depthunits": "1000", "param-disableraucolor": "0", "param-disablesadcolor": "0", "param-disablesadnormalize": "0", "param-disablesloleftcolor": "1", "param-disableslorightcolor": "0", "param-disparitymode": "0", "param-disparityshift": "0", "param-lambdaad": "850", "param-lambdacensus": "19", "param-leftrightthreshold": "32", "param-maxscorethreshb": "1949", "param-medianthreshold": "276", "param-minscorethresha": "68", "param-neighborthresh": "4", "param-raumine": "7", "param-rauminn": "1", "param-rauminnssum": "6", "param-raumins": "3", "param-rauminw": "6", "param-rauminwesum": "14", "param-regioncolorthresholdb": "0.0107632", "param-regioncolorthresholdg": "0.645793", "param-regioncolorthresholdr": "0.0166341", "param-regionshrinku": "4", "param-regionshrinkv": "1", "param-robbinsmonrodecrement": "1", "param-robbinsmonroincrement": "4", "param-rsmdiffthreshold": "5.0625", "param-rsmrauslodiffthreshold": "1", "param-rsmremovethreshold": "0.446429", "param-scanlineedgetaub": "4", "param-scanlineedgetaug": "542", "param-scanlineedgetaur": "982", "param-scanlinep1": "479", "param-scanlinep1onediscon": "4", "param-scanlinep1twodiscon": "25", "param-scanlinep2": "342", "param-scanlinep2onediscon": "69", "param-scanlinep2twodiscon": "225", "param-secondpeakdelta": "6", "param-texturecountthresh": "1", "param-texturedifferencethresh": "0", "param-usersm": "1", "param-zunits": "1000", "stream-depth-format": "Z16", "stream-fps": "30", "stream-height": "720", "stream-ir-format": "Y8", "stream-width": "1280" } `
Sorry, I closed the issue by mistake
Which version of the SDK are you using? When I save this to file and load it, it works for me on v2.10.0
It does not work for me even with your version: same error.
Hi @AleBasso80 What OS and what firmware version are you using?
Ubuntu 16.04.2, kernel 4.13.0-32
Sorry, I forgot the firmware version: 2.10.0
Could you please try running rs-enumerate-devices and attach its output?
Device info: Name : Intel RealSense 435 Serial Number : 733512070771 Firmware Version : 05.08.15.00 Physical Port : /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/video4linux/video1 Debug Op Code : 15 Advanced Mode : YES Product Id : 0B07
Stream Profiles supported by Stereo Module
Supported modes: stream resolution fps format
Infrared 2 1280x800 @ 30Hz Y8
Infrared 1 1280x800 @ 30Hz Y8
Infrared 1 1280x800 @ 25Hz Y16
Infrared 2 1280x800 @ 25Hz Y16
Infrared 1 1280x800 @ 15Hz Y16
Infrared 2 1280x800 @ 15Hz Y16
Infrared 2 1280x800 @ 15Hz Y8
Infrared 1 1280x800 @ 15Hz Y8
Infrared 2 1280x720 @ 30Hz Y8
Infrared 1 1280x720 @ 30Hz Y8
Infrared 1 1280x720 @ 15Hz Y8
Infrared 2 1280x720 @ 15Hz Y8
Infrared 1 1280x720 @ 6Hz Y8
Infrared 2 1280x720 @ 6Hz Y8
Infrared 2 848x480 @ 90Hz Y8
Infrared 1 848x480 @ 90Hz Y8
Infrared 1 848x480 @ 60Hz Y8
Infrared 2 848x480 @ 60Hz Y8
Infrared 2 848x480 @ 30Hz Y8
Infrared 1 848x480 @ 30Hz Y8
Infrared 2 848x480 @ 15Hz Y8
Infrared 1 848x480 @ 15Hz Y8
Infrared 1 848x480 @ 6Hz Y8
Infrared 2 848x480 @ 6Hz Y8
Infrared 2 640x480 @ 90Hz Y8
Infrared 1 640x480 @ 90Hz Y8
Infrared 1 640x480 @ 60Hz Y8
Infrared 2 640x480 @ 60Hz Y8
Infrared 1 640x480 @ 30Hz Y8
Infrared 2 640x480 @ 30Hz Y8
Infrared 1 640x480 @ 15Hz Y8
Infrared 2 640x480 @ 15Hz Y8
Infrared 1 640x480 @ 6Hz Y8
Infrared 2 640x480 @ 6Hz Y8
Infrared 1 640x400 @ 25Hz Y16
Infrared 2 640x400 @ 25Hz Y16
Infrared 1 640x400 @ 15Hz Y16
Infrared 2 640x400 @ 15Hz Y16
Infrared 1 640x360 @ 90Hz Y8
Infrared 2 640x360 @ 90Hz Y8
Infrared 2 640x360 @ 60Hz Y8
Infrared 1 640x360 @ 60Hz Y8
Infrared 1 640x360 @ 30Hz Y8
Infrared 2 640x360 @ 30Hz Y8
Infrared 2 640x360 @ 15Hz Y8
Infrared 1 640x360 @ 15Hz Y8
Infrared 2 640x360 @ 6Hz Y8
Infrared 1 640x360 @ 6Hz Y8
Infrared 2 480x270 @ 90Hz Y8
Infrared 1 480x270 @ 90Hz Y8
Infrared 1 480x270 @ 60Hz Y8
Infrared 2 480x270 @ 60Hz Y8
Infrared 1 480x270 @ 30Hz Y8
Infrared 2 480x270 @ 30Hz Y8
Infrared 2 480x270 @ 15Hz Y8
Infrared 1 480x270 @ 15Hz Y8
Infrared 1 480x270 @ 6Hz Y8
Infrared 2 480x270 @ 6Hz Y8
Infrared 1 424x240 @ 90Hz Y8
Infrared 2 424x240 @ 90Hz Y8
Infrared 2 424x240 @ 60Hz Y8
Infrared 1 424x240 @ 60Hz Y8
Infrared 1 424x240 @ 30Hz Y8
Infrared 2 424x240 @ 30Hz Y8
Infrared 1 424x240 @ 15Hz Y8
Infrared 2 424x240 @ 15Hz Y8
Infrared 2 424x240 @ 6Hz Y8
Infrared 1 424x240 @ 6Hz Y8
Depth 1280x720 @ 30Hz Z16
Depth 1280x720 @ 15Hz Z16
Depth 1280x720 @ 6Hz Z16
Depth 848x480 @ 90Hz Z16
Depth 848x480 @ 60Hz Z16
Depth 848x480 @ 30Hz Z16
Depth 848x480 @ 15Hz Z16
Depth 848x480 @ 6Hz Z16
Depth 640x480 @ 90Hz Z16
Depth 640x480 @ 60Hz Z16
Depth 640x480 @ 30Hz Z16
Depth 640x480 @ 15Hz Z16
Depth 640x480 @ 6Hz Z16
Depth 640x360 @ 90Hz Z16
Depth 640x360 @ 60Hz Z16
Depth 640x360 @ 30Hz Z16
Depth 640x360 @ 15Hz Z16
Depth 640x360 @ 6Hz Z16
Depth 480x270 @ 90Hz Z16
Depth 480x270 @ 60Hz Z16
Depth 480x270 @ 30Hz Z16
Depth 480x270 @ 15Hz Z16
Depth 480x270 @ 6Hz Z16
Depth 424x240 @ 90Hz Z16
Depth 424x240 @ 60Hz Z16
Depth 424x240 @ 30Hz Z16
Depth 424x240 @ 15Hz Z16
Depth 424x240 @ 6Hz Z16
Stream Profiles supported by RGB Camera
Supported modes: stream resolution fps format
Color 1920x1080 @ 30Hz Y16
Color 1920x1080 @ 30Hz BGRA8
Color 1920x1080 @ 30Hz RGBA8
Color 1920x1080 @ 30Hz BGR8
Color 1920x1080 @ 30Hz RGB8
Color 1920x1080 @ 30Hz YUYV
Color 1920x1080 @ 15Hz Y16
Color 1920x1080 @ 15Hz BGRA8
Color 1920x1080 @ 15Hz RGBA8
Color 1920x1080 @ 15Hz BGR8
Color 1920x1080 @ 15Hz RGB8
Color 1920x1080 @ 15Hz YUYV
Color 1920x1080 @ 6Hz Y16
Color 1920x1080 @ 6Hz BGRA8
Color 1920x1080 @ 6Hz RGBA8
Color 1920x1080 @ 6Hz BGR8
Color 1920x1080 @ 6Hz RGB8
Color 1920x1080 @ 6Hz YUYV
Color 1280x720 @ 30Hz Y16
Color 1280x720 @ 30Hz BGRA8
Color 1280x720 @ 30Hz RGBA8
Color 1280x720 @ 30Hz BGR8
Color 1280x720 @ 30Hz RGB8
Color 1280x720 @ 30Hz YUYV
Color 1280x720 @ 15Hz Y16
Color 1280x720 @ 15Hz BGRA8
Color 1280x720 @ 15Hz RGBA8
Color 1280x720 @ 15Hz BGR8
Color 1280x720 @ 15Hz RGB8
Color 1280x720 @ 15Hz YUYV
Color 1280x720 @ 6Hz Y16
Color 1280x720 @ 6Hz BGRA8
Color 1280x720 @ 6Hz RGBA8
Color 1280x720 @ 6Hz BGR8
Color 1280x720 @ 6Hz RGB8
Color 1280x720 @ 6Hz YUYV
Color 960x540 @ 60Hz Y16
Color 960x540 @ 60Hz BGRA8
Color 960x540 @ 60Hz RGBA8
Color 960x540 @ 60Hz BGR8
Color 960x540 @ 60Hz RGB8
Color 960x540 @ 60Hz YUYV
Color 960x540 @ 30Hz Y16
Color 960x540 @ 30Hz BGRA8
Color 960x540 @ 30Hz RGBA8
Color 960x540 @ 30Hz BGR8
Color 960x540 @ 30Hz RGB8
Color 960x540 @ 30Hz YUYV
Color 960x540 @ 15Hz Y16
Color 960x540 @ 15Hz BGRA8
Color 960x540 @ 15Hz RGBA8
Color 960x540 @ 15Hz BGR8
Color 960x540 @ 15Hz RGB8
Color 960x540 @ 15Hz YUYV
Color 960x540 @ 6Hz Y16
Color 960x540 @ 6Hz BGRA8
Color 960x540 @ 6Hz RGBA8
Color 960x540 @ 6Hz BGR8
Color 960x540 @ 6Hz RGB8
Color 960x540 @ 6Hz YUYV
Color 848x480 @ 60Hz Y16
Color 848x480 @ 60Hz BGRA8
Color 848x480 @ 60Hz RGBA8
Color 848x480 @ 60Hz BGR8
Color 848x480 @ 60Hz RGB8
Color 848x480 @ 60Hz YUYV
Color 848x480 @ 30Hz Y16
Color 848x480 @ 30Hz BGRA8
Color 848x480 @ 30Hz RGBA8
Color 848x480 @ 30Hz BGR8
Color 848x480 @ 30Hz RGB8
Color 848x480 @ 30Hz YUYV
Color 848x480 @ 15Hz Y16
Color 848x480 @ 15Hz BGRA8
Color 848x480 @ 15Hz RGBA8
Color 848x480 @ 15Hz BGR8
Color 848x480 @ 15Hz RGB8
Color 848x480 @ 15Hz YUYV
Color 848x480 @ 6Hz Y16
Color 848x480 @ 6Hz BGRA8
Color 848x480 @ 6Hz RGBA8
Color 848x480 @ 6Hz BGR8
Color 848x480 @ 6Hz RGB8
Color 848x480 @ 6Hz YUYV
Color 640x480 @ 60Hz Y16
Color 640x480 @ 60Hz BGRA8
Color 640x480 @ 60Hz RGBA8
Color 640x480 @ 60Hz BGR8
Color 640x480 @ 60Hz RGB8
Color 640x480 @ 60Hz YUYV
Color 640x480 @ 30Hz Y16
Color 640x480 @ 30Hz BGRA8
Color 640x480 @ 30Hz RGBA8
Color 640x480 @ 30Hz BGR8
Color 640x480 @ 30Hz RGB8
Color 640x480 @ 30Hz YUYV
Color 640x480 @ 15Hz Y16
Color 640x480 @ 15Hz BGRA8
Color 640x480 @ 15Hz RGBA8
Color 640x480 @ 15Hz BGR8
Color 640x480 @ 15Hz RGB8
Color 640x480 @ 15Hz YUYV
Color 640x480 @ 6Hz Y16
Color 640x480 @ 6Hz BGRA8
Color 640x480 @ 6Hz RGBA8
Color 640x480 @ 6Hz BGR8
Color 640x480 @ 6Hz RGB8
Color 640x480 @ 6Hz YUYV
Color 640x360 @ 60Hz Y16
Color 640x360 @ 60Hz BGRA8
Color 640x360 @ 60Hz RGBA8
Color 640x360 @ 60Hz BGR8
Color 640x360 @ 60Hz RGB8
Color 640x360 @ 60Hz YUYV
Color 640x360 @ 30Hz Y16
Color 640x360 @ 30Hz BGRA8
Color 640x360 @ 30Hz RGBA8
Color 640x360 @ 30Hz BGR8
Color 640x360 @ 30Hz RGB8
Color 640x360 @ 30Hz YUYV
Color 640x360 @ 15Hz Y16
Color 640x360 @ 15Hz BGRA8
Color 640x360 @ 15Hz RGBA8
Color 640x360 @ 15Hz BGR8
Color 640x360 @ 15Hz RGB8
Color 640x360 @ 15Hz YUYV
Color 640x360 @ 6Hz Y16
Color 640x360 @ 6Hz BGRA8
Color 640x360 @ 6Hz RGBA8
Color 640x360 @ 6Hz BGR8
Color 640x360 @ 6Hz RGB8
Color 640x360 @ 6Hz YUYV
Color 424x240 @ 60Hz Y16
Color 424x240 @ 60Hz BGRA8
Color 424x240 @ 60Hz RGBA8
Color 424x240 @ 60Hz BGR8
Color 424x240 @ 60Hz RGB8
Color 424x240 @ 60Hz YUYV
Color 424x240 @ 30Hz Y16
Color 424x240 @ 30Hz BGRA8
Color 424x240 @ 30Hz RGBA8
Color 424x240 @ 30Hz BGR8
Color 424x240 @ 30Hz RGB8
Color 424x240 @ 30Hz YUYV
Color 424x240 @ 15Hz Y16
Color 424x240 @ 15Hz BGRA8
Color 424x240 @ 15Hz RGBA8
Color 424x240 @ 15Hz BGR8
Color 424x240 @ 15Hz RGB8
Color 424x240 @ 15Hz YUYV
Color 424x240 @ 6Hz Y16
Color 424x240 @ 6Hz BGRA8
Color 424x240 @ 6Hz RGBA8
Color 424x240 @ 6Hz BGR8
Color 424x240 @ 6Hz RGB8
Color 424x240 @ 6Hz YUYV
Color 320x240 @ 60Hz Y16
Color 320x240 @ 60Hz BGRA8
Color 320x240 @ 60Hz RGBA8
Color 320x240 @ 60Hz BGR8
Color 320x240 @ 60Hz RGB8
Color 320x240 @ 60Hz YUYV
Color 320x240 @ 30Hz Y16
Color 320x240 @ 30Hz BGRA8
Color 320x240 @ 30Hz RGBA8
Color 320x240 @ 30Hz BGR8
Color 320x240 @ 30Hz RGB8
Color 320x240 @ 30Hz YUYV
Color 320x240 @ 6Hz Y16
Color 320x240 @ 6Hz BGRA8
Color 320x240 @ 6Hz RGBA8
Color 320x240 @ 6Hz BGR8
Color 320x240 @ 6Hz RGB8
Color 320x240 @ 6Hz YUYV
Color 320x180 @ 60Hz Y16
Color 320x180 @ 60Hz BGRA8
Color 320x180 @ 60Hz RGBA8
Color 320x180 @ 60Hz BGR8
Color 320x180 @ 60Hz RGB8
Color 320x180 @ 60Hz YUYV
Color 320x180 @ 30Hz Y16
Color 320x180 @ 30Hz BGRA8
Color 320x180 @ 30Hz RGBA8
Color 320x180 @ 30Hz BGR8
Color 320x180 @ 30Hz RGB8
Color 320x180 @ 30Hz YUYV
Color 320x180 @ 6Hz Y16
Color 320x180 @ 6Hz BGRA8
Color 320x180 @ 6Hz RGBA8
Color 320x180 @ 6Hz BGR8
Color 320x180 @ 6Hz RGB8
Color 320x180 @ 6Hz YUYV
Hi @AleBasso80 I would like to make sure the issue still reproduces with latest release. Also, are you able to load this JSON using the RealSense Viewer? We tried it on several systems and could not reproduce the problem. What C++ code you are using to load the JSON? Is it the same camera you used to generate the file?
Hi @dorodnic I'm using the last release. I made two different tests:
- I only use the RealSense Viewer: I save the current configuration as a json file with the embedded function (the button besides the presets list) and then I just try to reload it. I get an unknown error in rs2_load_json.
- in c++ I use this code that I found in another issue:
auto profile = pipe.start();
std::ifstream t("test.json");
std::string str((std::istreambuf_iterator
(t)), std::istreambuf_iterator ()); rs400::advanced_mode dev = profile.get_device(); dev.load_json(str); I get a parsing error, which I guess is the same I get in the first case.
Thank you
Hi,
I'm encountering the same issue.
$ rs-enumerate-devices
Device info:
Name : Intel RealSense 435
Serial Number : 728612070403
Firmware Version : 05.08.15.00
Physical Port : /sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/video4linux/video1
Debug Op Code : 15
Advanced Mode : YES
Product Id : 0B07
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
same problem with:
Device info:
Name : Intel RealSense USB2
Serial Number : 739112060128
Firmware Version : 05.08.15.00
Physical Port : /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/video4linux/video1
Debug Op Code : 15
Advanced Mode : YES
Product Id : 0AD6
libjsoncpp-dev version 1.7.2-1
SDK version: 2.10.2-0
[Realsense Customer Engineering Team Comment] hi @AleBasso80, i've checked with realsense viewer from v.2.11.1, and your JSON file is read without error message, so would like to know if your JSON file still the same as you posted when you test with latest release? i don't think so but i tested with FW v5.9.11, suggest you to update FW if not yet. thanks
hi @Nicogene, can you please share your JSON file for me to have a check? thanks.
Hi,
this is my actual setup:
$ rs-enumerate-devices
Device info:
Name : Intel RealSense D415
Serial Number : 739112060128
Firmware Version : 05.08.15.00
Recommended Firmware Version : 05.09.09.02
Physical Port : /sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.0/video4linux/video1
Debug Op Code : 15
Advanced Mode : YES
Product Id : 0AD3
librealsense 2.12.0-0~realsense0.73
and after saving a .json from the realsense-viewer, the load of the same file fails.
here's the file:
{
"aux-param-autoexposure-setpoint": "400",
"aux-param-colorcorrection1": "0.461914",
"aux-param-colorcorrection10": "-0.553711",
"aux-param-colorcorrection11": "-0.553711",
"aux-param-colorcorrection12": "0.0458984",
"aux-param-colorcorrection2": "0.540039",
"aux-param-colorcorrection3": "0.540039",
"aux-param-colorcorrection4": "0.208008",
"aux-param-colorcorrection5": "-0.332031",
"aux-param-colorcorrection6": "-0.212891",
"aux-param-colorcorrection7": "-0.212891",
"aux-param-colorcorrection8": "0.68457",
"aux-param-colorcorrection9": "0.930664",
"aux-param-depthclampmax": "65536",
"aux-param-depthclampmin": "0",
"aux-param-disparityshift": "0",
"controls-autoexposure-auto": "True",
"controls-autoexposure-manual": "33000",
"controls-color-autoexposure-auto": "True",
"controls-color-autoexposure-manual": "166",
"controls-color-backlight-compensation": "0",
"controls-color-brightness": "0",
"controls-color-contrast": "50",
"controls-color-gain": "64",
"controls-color-gamma": "300",
"controls-color-hue": "0",
"controls-color-power-line-frequency": "3",
"controls-color-saturation": "64",
"controls-color-sharpness": "50",
"controls-color-white-balance-auto": "True",
"controls-color-white-balance-manual": "4600",
"controls-depth-gain": "16",
"controls-depth-white-balance-auto": "False",
"controls-laserpower": "150",
"controls-laserstate": "on",
"ignoreSAD": "0",
"param-autoexposure-setpoint": "400",
"param-censusenablereg-udiameter": "9",
"param-censusenablereg-vdiameter": "9",
"param-censususize": "9",
"param-censusvsize": "9",
"param-depthclampmax": "65536",
"param-depthclampmin": "0",
"param-depthunits": "1000",
"param-disableraucolor": "0",
"param-disablesadcolor": "0",
"param-disablesadnormalize": "0",
"param-disablesloleftcolor": "0",
"param-disableslorightcolor": "0",
"param-disparitymode": "0",
"param-disparityshift": "0",
"param-lambdaad": "800",
"param-lambdacensus": "26",
"param-leftrightthreshold": "24",
"param-maxscorethreshb": "2047",
"param-medianthreshold": "500",
"param-minscorethresha": "1",
"param-neighborthresh": "7",
"param-raumine": "1",
"param-rauminn": "1",
"param-rauminnssum": "3",
"param-raumins": "1",
"param-rauminw": "1",
"param-rauminwesum": "3",
"param-regioncolorthresholdb": "0.0499022",
"param-regioncolorthresholdg": "0.0499022",
"param-regioncolorthresholdr": "0.0499022",
"param-regionshrinku": "3",
"param-regionshrinkv": "1",
"param-robbinsmonrodecrement": "10",
"param-robbinsmonroincrement": "10",
"param-rsmdiffthreshold": "4",
"param-rsmrauslodiffthreshold": "1",
"param-rsmremovethreshold": "0.375",
"param-scanlineedgetaub": "72",
"param-scanlineedgetaug": "72",
"param-scanlineedgetaur": "72",
"param-scanlinep1": "60",
"param-scanlinep1onediscon": "105",
"param-scanlinep1twodiscon": "70",
"param-scanlinep2": "342",
"param-scanlinep2onediscon": "190",
"param-scanlinep2twodiscon": "130",
"param-secondpeakdelta": "325",
"param-texturecountthresh": "0",
"param-texturedifferencethresh": "0",
"param-usersm": "1",
"param-zunits": "1000",
"stream-depth-format": "Z16",
"stream-fps": "30",
"stream-height": "720",
"stream-ir-format": "Y8",
"stream-width": "1280"
}
[Realsense Customer Engineering Team Comment] hi @Nicogene,
i've checked your JSON file, somehow there are two line of "controls-color-white-balance-auto", please remove the 2nd one then it's working good here.
Hi,
Thank for the reply!
The json that I posted has been generated from the realsense-viewer, so probably the issue in the generation phase instead of the parsing one?
[Realsense Customer Engineering Team Comment] hi @Nicogene,
yup, I've consider about this too, so I compared with the one I generate, it have no issue. but this remind me that I am using Realsense viewer from LibRealsense v2.12.0 and FW 5.9.11. I see your FW version is v5.8.15, not sure your Realsense viewer version? and BTW, if you have no concern about FW version, I would suggest to update your FW with latest. thanks.
Ok I will update the firmware and I will let you know thanks !
[Realsense Customer Engineering Team Comment] hi @Nicogene,
would like to know if your test with new FW is good?