Recent update: 2008-3-21
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 ...
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 ...
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 ...
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?
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 ...
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
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 ...
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
99 byte By
IgorM at 2008-2-25
Can someone, please, point me to an example of how to use the BlobTracker service? Thanks.
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 ...
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 ...
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 ...
Note that it doesn't run on Maxthon browsers. On IE it's fine. <img src="/library/msdn/images/emoticons/smile_regular.gif">
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 ...
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. ...
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 ...
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 ...
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 ...
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. ' ...
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 ...
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 ...
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) ...
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 ...
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 ...
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 ...
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 ...
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> ...
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
99 byte By
IgorM at 2008-2-12
Can someone, please, point me to an example of how to use the BlobTracker service? Thanks.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
<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>
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 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 ...
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 ...
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 ...
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, ...
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, ...
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
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 ...
Are there any licensing issues with implementing a DSSP library for use in non .NET languages, such as CPython?
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 ...
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 ...
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 ...
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 ...
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 ...