Set angle of MEMS mirrors. It returns when MEMS mirror finishes targeting. This method is synchronous.
- Return value:
true
when setting angle successfully,false
when timeout occured or otherwise. x
: Radian angle in x axis.y
: Radian angle in y axis.timeout
: timeout in microseconds.
Return current angle of MEMS mirrors. This method synchronous.
- Return value:
true
when getting angle successfully,false
otherwise. x
: Radian angle in x axis.y
: Radian angle in y axis.
Measure distance using laser and TOF sensor. This method is synchronous.
- Return value:
true
when getting distance successfully,false
otherwise. distance
: Distance in metersvariance
: Variance of measurement. It is optional.