Lego Manifest Question
So when I have this as my manifest file:
<?xml version="1.0" ?>
<Manifest
xmlns:motor="http://schemas.microsoft.com/robotics/2006/05/motor.html"
xmlns:lego="http://schemas.microsoft.com/robotics/2006/05/legonxt.html"
xmlns:bumper="http://schemas.microsoft.com/2006/06/contactsensor.html"
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.tempuri.org/2007/05/twobuttonsonemotor.html</dssp:Contract>
<dssp:PartnerList>
<dssp:Partner>
<dssp:Name>motor:ControlledMotor</dssp:Name>
</dssp:Partner>
<dssp:Partner>
<dssp:Name>bumper:Bumper1</dssp:Name>
</dssp:Partner>
<dssp:Partner>
<dssp:Name>bumper:Bumper2</dssp:Name>
</dssp:Partner>
</dssp:PartnerList>
</ServiceRecordType>
<!--Start LegoNXT Brick -->
<ServiceRecordType>
<dssp:Contract>http://schemas.microsoft.com/robotics/2006/05/legonxt.html</dssp:Contract>
<dssp:PartnerList>
<!--Initial LegoNXT config file -->
<dssp:Partner>
<dssp:Service>LEGO.NXT.Brick.Config.xml</dssp:Service>
<dssp:Name>dssp:StateService</dssp:Name>
</dssp:Partner>
</dssp:PartnerList>
<Name>lego:Brick1</Name>
</ServiceRecordType>
<!-- Start ControlledMotor -->
<ServiceRecordType>
<dssp:Contract>http://schemas.microsoft.com/2006/06/legonxtmotor.html</dssp:Contract>
<dssp:PartnerList>
<dssp:Partner>
<dssp:Service>ControlledMotor.Config.xml</dssp:Service>
<dssp:Name>dssp:StateService</dssp:Name>
</dssp:Partner>
<dssp:Partner>
<dssp:Name>lego:Brick1</dssp:Name>
</dssp:Partner>
</dssp:PartnerList>
<Name>motor:ControlledMotor</Name>
</ServiceRecordType>
<ServiceRecordType>
<dssp:Contract>http://schemas.microsoft.com/2006/06/lego.nxt.bumper.html</dssp:Contract>
<dssp:PartnerList>
<dssp:Partner>
<dssp:Service>Lego.NXT.Bumper1.Config.xml</dssp:Service>
<dssp:Name>dssp:StateService</dssp:Name>
</dssp:Partner>
<dssp:Partner>
<dssp:Name>lego:Brick1</dssp:Name>
</dssp:Partner>
</dssp:PartnerList>
<Name>bumper:Bumper1</Name>
</ServiceRecordType>
<ServiceRecordType>
<dssp:Contract>http://schemas.microsoft.com/2006/06/lego.nxt.bumper.html</dssp:Contract>
<dssp:PartnerList>
<dssp:Partner>
<dssp:Service>Bumper2.Config.xml</dssp:Service>
<dssp:Name>dssp:StateService</dssp:Name>
</dssp:Partner>
<dssp:Partner>
<dssp:Name>lego:Brick1</dssp:Name>
</dssp:Partner>
</dssp:PartnerList>
<Name>bumper:Bumper2</Name>
</ServiceRecordType>
</CreateServiceList>
</Manifest>
When I run the service for the first time, it takes me to the web interface to enter in the correct COM port. However, the sensors are set to the default (I think it's a touch sensor in port 1, a sound sensor in 2, sonar in 3, and a light in 4.. or something like that). Why isn't my configuration from the manifest file set? Is it because it's getting those selections from the default Brick service? If so, is there better way to do this?
Like I said, this isn't a crucial deal or anything, I'm just curious.

