-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
Required Info | |
---|---|
Camera Model | D400 |
Firmware Version | 05.08.06.00 |
Operating System & Version | MacOS |
Kernel Version (Linux Only) | -- |
Platform | High Sierra 10.13.3 |
SDK Version | SDK 2.0 (Build 2.10.1) |
Issue Description
- dev.load_json(str) failed when coding like below. the same code works well in ubuntu(with json-file path being modified.)
pipe.start();
auto profile = pipe.get_active_profile();
std::ifstream t("/Users/uncle/Documents/Algorithm/IntelRealSense/higacc.json");
std::string str((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>());
rs400::advanced_mode dev = profile.get_device();
dev.load_json(str);
here is the error log:
RealSense error calling rs2_load_json(dev:0x1018acdc0, json_content:0x102043200, content_size:2986):
get_xu(id=2) failed! Last Error: No such file or directory
Program ended with exit code: 1
- I cannot tune any params (and other presets) with viewer, it reports an error.
- by the way, when sample code running, it always reports
unsupported descriptor subtype: 13
( eg. capture example)