Intel RealSense Library for Processing

Setting sensor values is still an open issue, but there as a workaround: Simple use the json loader, which loads a config to the sensor (example).

I would recommend to only set the emitter in the config:

String param = "\"controls-laserstate\": \"off\"";
String jsonConfig = "{" + param + "}";
2 Likes