Raúl
Moderador
 Moderador
| Mensajes: 425 |  | Karma: 6
|
Re:Webcam Service on WIndows CE - 2008/06/01 23:06
Hi, unfortunately I don't have any experience running Robotics Studio in a Compact Framework environment. Anyhow, I think all the setup for the webcam should be identical.
In order to configure your camera (after the manifest has been created) you need to run the DSS Node, go to the service directory (http://localhost:50000/directory), select the entry that corresponds to the webcam service instance, and select the camera you want to use (in this case I assume you only have one cam on your WinCE device) from the dropdown list and click the Change button. The next time the service starts it will use these settings. If your camera doesn't show up in the drop down list something could be wrong with the driver...
One thing you can also check is whether or not your webcam is working using just the webcam service web interface (without using your porting of SimpleVision). Go to the MSRS GUI (usually http://localhost:50000) and start the webcam service, then go the the service directory (http://localhost:50000/directory) and check the image you are getting. You can also try to configure the image format and size.
If you want to see exactly how the webcam service connects to the camera you can have a look to the code in samples/sensors/webcam. The method updatedeviceinternal() is in charge of handling the connection.
Hope this helps..
Raúl Arrabales Moreno. conscious-robots.com/raul |