Getting started with the drivers and the SSC-32 board

I followed the tutorial and was able to get to the ssc32 from MSRS via bluetooth - sweet.

MSRS seems to be like drinking from a firehose as far as the learning curve. I would like to start sequencing the ssc32 on my ch3-r so I can get it to walk, etc.

Where can I find some info on doing this via MSRS?

Thank you.

Hi Guys,

I’m not sure if this project example is working correctly.

I’m trying to build and run the service, but I get an error in the console when it runs:

*   Service started [02/05/2010 07:33:41][MyPC.antek.local:50000
/directory]
*   Service started [02/05/2010 07:33:41][MyPC.antek.local:50000
/constructor]
*   Service started [02/05/2010 07:33:42][MyPC.antek.local:50000
/console/output]
*   Starting manifest load: file:///C:/Users/MyName/Microsoft Robotics Dev Studi
o 2008 R2/samples/Config/Lynxmotion.SSC32.manifest.xml [02/05/2010 07:33:42][htt
p://MyPC.antek.local:50000/manifestloaderclient]
Rebuilding contract directory cache. This will take a few moments ...
Contract directory cache refresh complete
**  Error creating service. Service type:http://schemas.coroware.com/robotics/20
07/01/ssc32.html [02/05/2010 07:33:46][MyPC.antek.local:50000/co
nstructor]
*** Service creation failure most common reasons:
    - Service contract identifier in manifest or Create request does not match C
ontract.Identifier
    - Service references a different version of runtime assemblies
    Additional information can be found in the system debugger log.
 [02/05/2010 07:33:46][MyPC.antek.local:50000/manifestloader/22f
1d8ad-ebf2-4b01-b330-de869f206d76]
*   Manifest load complete [02/05/2010 07:33:46][MyPC.antek.loca
l:50000/manifestloaderclient]

The project builds OK, after I had to change a couple of paths, and references to CSS and DSS (is Visual Studio 2008)

I also had to change the contract URL in the manifest, to match the URL in SSCTypes.

<?xml version="1.0" ?>
<Manifest 
    xmlns="http://schemas.microsoft.com/xw/2004/10/manifest.html"
    xmlns:dssp="http://schemas.microsoft.com/xw/2004/10/dssp.html"
    >
    <CreateServiceList>
        <ServiceRecordType>
            <dssp:Contract>http://schemas.coroware.com/robotics/2007/01/ssc32.html</dssp:Contract>
        </ServiceRecordType>
    </CreateServiceList>
</Manifest>

And changed _portName in SSC32State.cs to “COM1”

If I go to localhost:50000/ssc32 I get what appears to be the control panel “Microsoft Robotics Home”

At this stage I also do not have any hardware connected (SSC-32), hopefully that is arriving today depending on the snow LOL.

*Notes:
Visual Studio 2008 Pro
MSRS 2008 R2 Standard
Windows Vista

** UPDATE
Just reviewing this project again, and when looking at SSC32.cs there is a summary icon by the scroll bars that says “This document contains errors”.
This seems to point to the following line (56):

Arbiter.Receive<SendSSC32Command>(true, _mainPort, SSC32CommandHandler)

If I hover over “Receive” it says undeclared element, but the project compiles ???

What’s wrong? :confused:

I had this problem once before and fixed it. I just downloaded and fired it up and I’m getting the same error so I can work on it. It might be referencing the older .dll’s if you have 2008 and R2 installed on the same machine. Check the version numbers of the .dll’s your referencing and make sure they are using the R2 dll’s.

Yeah multiple problems with the example project I downloaded.

Lots of references to the original author’s local hard drive paths. (C:\Documents and Settings*UserName*…etc etc )
I also had to remove and fix the signing key file, and correct the output paths and reference paths.

I also changed the post build parameters from -port: -manifest: to /p: /m: (is there a difference, or just a version difference.)

So I finally have my SSC32 service running, and it detects my board and servos.

Now it’s on to the next step.