logo logo
Saturday, 11 October 2008
 
 
English English  Español Español  
Tag Cloud
Architectures Artificial Associations Books Brain Conscious Consciousness Forums Howto Machine Machine Consciousness Machines Microsoft Neuroscience Projects Publications Research Researchers Reviews Robot Robotics Robots Services Studio
Conscious-Robots.com Forum  


Thibaud
User

Fresh Boarder
Posts: 1
graphgraph
Karma: 1  
Webcam Service on WIndows CE - 2008/06/01 11:07 Hi,



I'm working on Windows CE 5.0 and i've doing a porting of the SimpleVision sample to the compact framework. I've generate the service with VPL (Version 1.5) and choose CF 2.0 target. And after i've create a deploy exe with dssdeploy. On my CE device i'm using a generic webcam driver found on the web, it works fine. I need to add it in the Registry and after i can work with the Webcam.

When i launch my MSRS service i've no error but no image from the webcam are displayed. I think that it doesn't find the driver, how can i tell to him where are the driver? is it on VPL when i parametring the partner of my service? In devicename porperties?



Thnaks for your answer Smile



Thibaud

Post edited by: Thibaud, at: 2008/06/01 11:07
  The administrator has disabled public write access. Please, register to participate in the forum.
Raúl
Moderator

Moderator
Posts: 394
graph
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
  The administrator has disabled public write access. Please, register to participate in the forum.





Lost Password?
No account yet? Register
Last Posts in Forum
 
Top! Top!