Microsoft Robotics - Decentralized Software Services (DSS),6
Recent update: 2008-3-21

Serialization Problems

1406 byte By Don at 2008-3-7
I have a some services which, when running on the same node, work fine. When I switch to running over tcp/ip, I get the following errors: ### SerializerForwarder:ReportFailure. Exception:There is an error in XML document (1, 1). Action: Body Type:null Target Service: Source Service: And ...

Initial Manifest Failed - using DssDeploy with Windows CE

21954 byte By RoboticsConnection at 2008-3-6
George, Sigh...I dont' know why this started happening, but I've had my autonomousfollowing service starting up a-okay on my ICOP Vortex86-6082 for the last several days. Starting last night, I started getting the following error when the service is started up: Service uri: [05/12/2007 ...

Adding a light sensor service to the NXT

923 byte By PhaedoHD at 2008-3-5
Hi, I have completed all the tutorials and all that, but am still a newbie with MSRS. My problem is I'm trying to use my NXT light sensors (connected to port 1 and 2 on my NXT). I can't seem to get it congifured correctly though. I tried looking through the ...

UnSubscribe to a service

225 byte By Don at 2008-3-3
If a service drops, if I send a drop message to all of the services that I subscribed to, how can I then send a notice to the subscribe manager to let it know that the service has dropped and is no longer partnered?

Controlling irobot create remotely using Dashboard

1035 byte By vandrem at 2008-3-1
I have sucessfully controlled my irobot create using the dashboard locally but am having troubles controlling it from another computer over the network. Please tell me what I am doing wrong: I have the firewall opened on ports 50000 and 50001 on both machines. I have disabled MRS security on ...

Documenting service api's

227 byte By RobSim--Braintech at 2008-2-28
Hi guys, Do you have any recommendations (tools, project structure, etc) for documenting the public API of a service? I'd like to produce docs that keep the public interface separate from the internals. thanks, R

Searching among multiple services of same type

1498 byte By HeikkiRuuska at 2008-2-27
Hi, this is a typical RTFM question, but please bear with me as I couldn't find a manual. I'm developing multi-robot systems with the simulator, and was wondering if there's any shortcuts for accessing specific instances of simulated bumper arrays, differential drives etc. You can search ...

dsshost

293 byte By fulai225 at 2008-2-26
I created simulationone service,now i want to run it use command line,but it cant work, ..<strong>>bin\dsshost /port:50000 /manifest:"zz</strong>\<strong>simulationone\</strong> <strong>simulationone.manifest.xml"</strong> who can help me ? thank you

BlobTracker example?

99 byte By IgorM at 2008-2-25
Can someone, please, point me to an example of how to use the BlobTracker service? Thanks.

Partner Enumeration Failed, Service Will Not Start

33223 byte By Don at 2008-2-24
I have a bit of a strange problem. I have about 6 services all starting up, partnering with each other and they are all on the same node. If I startup particular services in the group, everything starts up fine, all 6 of the services will startup. However, if I startup other of the services in ...

1.5 May CTP, problem serializing List<byte> ?

1140 byte By ChrisKilner at 2008-2-23
Hello, After upgrading to the 1.5 May CTP, data members of type List<byte> seem to mishandled in the Proxy code causing the following four errors in the proxy Serialize method: Error 60 'System.Collections.Generic.List<byte>' does not contain a definition for 'Length' Error 61 ...

WebCam service question

1317 byte By JornB at 2008-2-22
Hi there,I'm having some problems with getting the webcam service running from my C# code. Please note that I am a newbie, but I have completed all relevant tutorials. The problem is this: As I understand (please correct me if I'm wrong) in order to use the webcam service from another service ...

Just a Comment about http://localhost:50000/controlpanel (Service Tutorial 1)

126 byte By UriKartoun at 2008-2-22
Note that it doesn't run on Maxthon browsers. On IE it's fine. <img src="/library/msdn/images/emoticons/smile_regular.gif">

Dictionarys with MSRS 1.5

1086 byte By theSailor at 2008-2-21
Hello, in my implementations with MSRS 1.0 I used a lot of dictionarys for interaction between the services Now I tried to migrate to version 1.5. For every dictionary<string, float> used with a [DataMember] attribute I get the following post-build error: Code Snippet ...

connecting to service

718 byte By tr0uble at 2008-2-20
Let's say I have 2 services: 1st is the DirectionDialog service that comes with the MSRS and the 2nd one is my own where i subscribe to the direction dialog service and receive button press and button release notifications.Now I want to use my own testing tools in order to test the services. ...

Forbidden - "You were denied access because: Access denied by access control list."

671 byte By UriKartoun at 2008-2-19
while trying to run "Service Tutorial 1" ( http://msdn2.microsoft.com/en-us/library/bb400976.aspx), I encounter a problem while navigating to the http://localhost:50000/servicetutorial1 address. That's what the browser shows: ForbiddenYou were denied access because: Access denied by ...

Two services using an abstract service

793 byte By theSailor at 2008-2-18
Hello,at the moment, I'm writing 2 Services (lets say A and B), that use the interface of an abstract Service (C). Service A uses the whole operation port of Service C, while Service B has an own one and additionally implements the interface of C with the AlternateServicePort attribute. The ...

Serialization attributes for request types

603 byte By Asyncer at 2008-2-17
Hi, In the samples I see that we put [DataContract] and [DataMember] attributes for Request types and their properties. These attributes function clearly for the state types and we can see the serialized results for the state but why do we use these also for the request types? For example see ...

ServiceTutorial1 - Building Error

1089 byte By UriK. at 2008-2-16
While trying to build ServiceTutorial1, I get two errors: The first error: Error 1 Warning as Error: Invalid search path 'C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' ...

Service is not starting

1732 byte By theSailor at 2008-2-15
I have an odd problem with a service A. This service A receives messages vom a service B, which adds A as a Partner (with CreationPolicy = PartnerCreationPolicy.CreateAlways). If I start service B, the constructor of service A is called, but not the start() method... At runtime, I can send ...

Partnership and Proxy

2035 byte By azer at 2008-2-15
In the MRS service tutorials you explain how to subscribe to a service but there is no real exemple how to directly post a message to an external service (or I missed it ;p ). So I tried to do it myself: Service 1 is the sender It overload the update message with a let's say Service1Message ...

Problem encountered during ServiceTutorial 7

1540 byte By Xeotrowa at 2008-2-15
Hi, I encountered a problem when running ServiceTutorial 7, while using MSRS ver 1.5(May). It was tested using two different machines. The local machine was "ok" but the problem lied in the remote machine. The remote machine was unable to run the service and a error(remote machine) ...

Initial Manifest Failed - using DssDeploy with Windows CE

21954 byte By RoboticsConnection at 2008-2-15
George, Sigh...I dont' know why this started happening, but I've had my autonomousfollowing service starting up a-okay on my ICOP Vortex86-6082 for the last several days. Starting last night, I started getting the following error when the service is started up: Service uri: [05/12/2007 ...

Serialization attributes for request types

603 byte By Asyncer at 2008-2-15
Hi, In the samples I see that we put [DataContract] and [DataMember] attributes for Request types and their properties. These attributes function clearly for the state types and we can see the serialized results for the state but why do we use these also for the request types? For example see ...

changes to dssproxy in 1.5 ctp

464 byte By RobSim--Braintech at 2008-2-14
Hi, I'm compiling a project I've migrated from 1.0 to 1.5ctp (may), and I'm getting the following error in the compilation of the proxy types:No overload for method 'Bitmap' takes '0' arguments It looks like something has changed in 1.5 to disallow Bitmaps as [DataMembers], since this ...

Local Host Problem

489 byte By GarethL at 2008-2-14
I'm working through the tutorials and have encountered a problem with the Local host function. When I try to use my web browser to look at http:\\localhost:50000/servicetutorial1 I am asked for a username and password but I have no idea what these might be. I have tried my Windows logon but ...

SubscriptionManager problem

15580 byte By CarlosP at 2008-2-13
Hi, I have a problem to notify my subscribers with SelectiveSubscribe and I can’t find any solution to solve it. On the subscriptionmanager I have the following message : Code Snippet - <Subscription> - <SubscriptionType> ...

dss on network-disconnected box

294 byte By RobSim--Braintech at 2008-2-13
Hi, I'm trying to run dsshost on a box with no network connection. Running dsshost -p:50000 yields the following message: *** Initialization failed in DSS boot loader: There is an error in XML document (10, 7). fwiw, I have '127.0.0.1 localhost' in my hosts file. cheers, R

BlobTracker example?

99 byte By IgorM at 2008-2-12
Can someone, please, point me to an example of how to use the BlobTracker service? Thanks.

Tips for improving Service performance on CE devices (or any constrained system)

3891 byte By GeorgeChrysanthakopoulos at 2008-2-11
Some of the CE platforms we support, like the ICOP eBox 2300 and some PDAs, are constrained in both CPU and memory, and significanly slower (like 50x) compared to a modern desktop system What we had to do on CE, and you can see this in the iRobot lite service, is take a whole bunch of ...

Simulated webcam

656 byte By sanrobo at 2008-2-10
Hi, anybody knows how to use simualted webcam using VB.net? I tried like this Imports cam = Microsoft.Robotics.Services.WebCam.Proxy Dim _camPort As cam.WebCamState = _ DssEnvironment.ServiceForwarder(Of cam.WebCamState)(camSvcUri) But its not accepting. Is there sample for this Thanks ...

DsspForwarder:InboundFailureHanlder

2816 byte By Don at 2008-2-10
I get the following error when trying to send a message between two services running on the same node: ### DsspForwarder:InboundFailureHandler. Exception:Body type not expectedervice1.Proxy.ServiceUpdate Action: http://schemas.microsoft.com/xw/2004/10/dssp.html:NotifyRequest Body ...

Dictionarys with MSRS 1.5

1086 byte By theSailor at 2008-2-8
Hello, in my implementations with MSRS 1.0 I used a lot of dictionarys for interaction between the services Now I tried to migrate to version 1.5. For every dictionary<string, float> used with a [DataMember] attribute I get the following post-build error: Code Snippet ...

Specify Manifest in Code

465 byte By Don at 2008-2-8
Let's say service1 wants to partner with service2, which may or may not be on the same node, using a CreateorUseExisting type policy. In addition, I want service2 to startup with a specific manifest file located in a directory that I specify. How do I achieve this? I looked in the service ...

Partner enumeration bug

345 byte By BenAxelrod at 2008-2-7
I have a large robotics project (about 18 services) that i start all through manifest. I have noticed a bug that sometimes my services do not start unless their partners are listed as "UseExisting" rather than "UseExistingOrCreate". I think the problem happens when a service ...

start remote service by manifest

203 byte By RobertToscano at 2008-2-7
<span id="_ctl0_MainContent_PostFlatView"><span>Is there a way to remotely (from a different DSS node) load a manifest (which resides on the local machine) programmatically? Thanks. </span></span>

Failed creating service!

991 byte By MohammedA.Aziz at 2008-2-7
Hi all,I'm getting "Failed to create service..." error when I try creating a lego nxt brick service here: Code Snippet dss.CreateService(" http://schemas.microsoft.com/robotics/2006/05/legonxt.html");(as well as legonxt service is failed to be created when starting the ...

Are strings not serializable?

503 byte By RobertToscano at 2008-2-7
Are strings not able to be serialized by DSS? I keep getting the following error when sending a message whose body has a string member:SerializerServiceerializeToXmlWriter. Exception:Type does not have a root element name so it can't be serializedystem.String ...

Cannot Start With Manifest

626 byte By Don at 2008-2-6
After starting a DssHost, my service appears in the control panel, but the option to select a manifest is greyed out. I have a manifest in the same directory as the project, though that directory is not contained within C:\Microsoft Robotics Studio (1.0)\. What could be the reasons for ...

Deploying & Running Service on ICOP eBox2300

1495 byte By RoboticsConnection at 2008-2-6
Hey guys, I have followed your step by step procedure in the MSRS help pages on creating a CF service and deploying it on a CE device (in this case it's an ICOP eBox 2300). I have successfully deployed the service (autonomousfollowing), and it starts up correctly. However, I go to a web ...

The Drop message

1067 byte By EricFritzinger at 2008-2-5
How do I implement the drop message?Here is what I have so far: [ServiceHandler(ServiceHandlerBehavior.Teardown)] public IEnumerator<ITask> DropHandler(Drop drop) { yield break; }Drop is a message that derives from Drop<DefaultDropRequestType, PortSet<DefaultDropResponseType, ...

What is ServiceTutorial1.Y2006.M06.dll ?

1420 byte By kosoon at 2008-2-5
Hi When Dsshost.exe makes a Servicexxxx, I know that following files are created by Dsshost.exe Servicexxxx.Y2006.M06.dll Servicexxxx.Y2006.M06.proxy.dll Servicexxxx.Y2006.M06.transform.dll What does each file include ? What do they role for a service ? When SimulationTutorial2 runs, ...

Conventional threading vs DSS

185 byte By RobSim--Braintech at 2008-2-4
Hi, Are there any gotchas with respect to mixing the conventional threading model with DSS? I have legacy multithreaded code that I'd like to wrap in a service. cheers, R

Hosting outside of DssHost.exe

583 byte By SteveSchwarz at 2008-2-4
For various reasons (probably none of them very good , I'd like to host services outside of dsshost.exe. I assume this is possible and even tried the example I saw from the channel 9 site, but my application hung when trying to initialize the environment. Do you have a simple example of how ...

DSSP Implementation Library

117 byte By AnthonyTarlano at 2008-2-4
Are there any licensing issues with implementing a DSSP library for use in non .NET languages, such as CPython?

Hosting DSS

998 byte By RobSim--Braintech at 2008-2-4
Hi, In my quest to find a workaround for the webcam crashes[1] I'm attempting to wrap the dss environment in my own executable. There is a howto here: [2]... but it's missing all the 'using' directives and I can't work out the correct references. For instance, my best guess is that ...

project migration tool

531 byte By BenAxelrod at 2008-2-3
it would be great if this tool also scanned .vcproj files for references to the old MSRS root. I have a few "native wrapper" type projects where I have set the keyfile to use MSRS's and post-build steps to copy the .dll to /bin/services. it was a pain to go in and edit these all over ...

Robotics Studio Documentation Spring Cleaning

727 byte By OmidK.Rad at 2008-2-3
I’m going to do a spring cleaning on our tutorials and samples. If you came across any issues or noticed inconsistencies when going through the MSRS docs (including code comments), please let us know. I will be monitoring this thread for your feedbacks regarding the documentation. We would like ...

To Proxy or Not To Proxy...

737 byte By Don at 2008-2-2
First the situation: I have service1 with a service1state object, which is a complicated object, and along with it's data members, there are also several member functions. Lots of services partner with service1, and then I would like to use the service1state member functions. If I've only ...

Circular Partnership/Compile issue

942 byte By Don at 2008-2-2
Let's say I have service1 and service2. service1 needs access to request objects from service2, thus I include service2.proxy.dll into service1's references. service2 needs access to request objects from service1, thus I include service1.proxy.dll into service2's references. This ...