Creating a proxy on the video input module

  1. Choose your video source by editing the AL_DIR/preferences/VideoInput.xml file and commenting/uncommenting the video devices.
  2. Before using the camera commands, you must create a proxy on the Video Input Module by writing:

    // Get a proxy on the video input module. ALPtr<ALProxy> cameraProxy = getParentBroker()->getProxy( "ALVideoDevice" ); // Or use the specific video proxy for better efficiency ALPtr<ALVideoDeviceProxy> cameraProxy = ALPtr<ALVideoDeviceProxy>( new ALVideoDeviceProxy(getParentBroker()));





Copyright © 2010 Aldebaran-Robotics - All rights reserved