[yarp] Fix bug in laserscanner