How to turn on/off laser

It is now possible to turn off the laser in order to free the cpu. The laserOff function turn off the laser light only, the motor will keep on turning.

Python example:

import naoqi from naoqi import ALProxy laser=ALProxy("ALLaser","127.0.0.1",9559) laser.laserOFF()

To get the laser to turn on again, just execute the follow lines:

Python example:

import naoqi from naoqi import ALProxy laser=ALProxy("ALLaser","127.0.0.1",9559) laser.laserON()





Copyright © 2010 Aldebaran-Robotics - All rights reserved