Open traversaro opened 3 years ago
An option that seems to work is:
optionValue2Perc
function as static bool optionValue2Perc(rs2_option option,const rs2::sensor* sensor, double* perc, const float& value)
value
instead of (float&) value
then row 217 must be a *perc = ...
Feel free to open a PR if you like, thanks!
The compilation has the device raise this interesting warning:
Not sure if anyone is interested in fixing it, but I open an issue to track it.