22. June 2006 00:49
I just completed the MyTutorial1 and MyTutorial2 tutorials for the Microsoft Robotics Studio. I used the Lego RSX 2.0 hardware for the tutorials. I noticed a couple things that stumbled me for a short time.
When you launch the tutorials from the visual studio IDE the services never seem to communicate with the RSX. I was able to get the service to work using the DSSHOST executable passing in the manifest file. So I looked at the parameters that the IDE is passing to the DSHOST when you debug and it was using the contract command line option instead of the manifest option. So I changed it to use the manifest and the service ran fine.
So change the command line debug argument -contract from:
-manifest:"C:\Microsoft Robotics Studio (June 2006)\samples\
And you should be able to launch the service from the IDE
On tutorial number two there is no step to add in the legorcxmotor service to the manifest, so the service never gets started correctly when you run the application from the IDE. So add the following to the MyTutorial2.manifest.xml file:
Overall I found the two tutorials informative. I at least got my feet wet with using the framework. I might try a few more tutorials before I attempt to write a driver for the BX24.