Using create and drop in a special case? Possible or not?

Hi,

I have maybe a stupied question. The dssp protocol contains two messages of type create and drop. My question is, is it possible to use this two messages to start and stop services at runtime?

Example:

I have two sensors like laser range and sonar range finder. Both of them should be connected to a orchestrator service. In speciall environments I only want to use the laser service so I have to turn off the sonar service and in other environments I want to use only the sonar range finder and not the laser range finder so I want to turn off the laser service.
Is such a "dynamic wiring" possible with the MS Robotics Studio? Or with the create and drop messages?

Thanks for every response.

greetings giovann

[740 byte] By [Giovann] at [2008-1-9]
# 1

Creating and dropping services dynamically is absolutely possible with MSRS. The simplest in your case is probably to have the orchestrator service start the other services it wants and then start communicating with them. We have an example of how to create services dynamically in hosting tutorial 4. Note, however, that it uses the DssEnvironment class. When creating services from other services, you do exactly the same but rather than using DssEnvironment you use the same methods on DsspServiceBase class.

Henrik

[1] http://msdn2.microsoft.com/en-us/library/bb643218.aspx

HenrikFNielsen at 2007-10-3 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Decentralized Software Services (DSS)...

Microsoft Robotics Studio

Site Classified