D
D
Dmitry Petrov2012-01-19 13:38:49
Arduino
Dmitry Petrov, 2012-01-19 13:38:49

Developing services for Microsoft Robotics Developer Studio 4 Beta 2?

Has anyone experienced developing DSS services for Microsoft Robotics Developer Studio?
I recently started working with them, writing a set of services for interacting with the Arduino platform (there are no standard tools), and I ran into a problem. Unsubscribed on the msdn forum, where MS developers neither be nor me, they cannot connect two words on this topic.
Problem essence:
I have 4 services.
1) One base, ArduinoService, it connects to the device, reads data from ports, sends messages to subscribers.
2) There are services responsible for the data of sensors, servos, motors, etc. For example, ArduinoGenericDistanceSensor and ArduinoGenericMagneticFieldSensor are put on the diagram (if you put one of them, everything works fine, you need exactly two different types. If two services are of the same type, it also works).
3) The ArduinoDashboard service makes it possible to view sensor data and simulate signals from analog inputs in simulation mode.
If I place two services of different types from point 2 on the form, then I get the error
[quote]System.ArgumentException: Same qualified already registered, but for different type
Parameter name: serializableType
at Microsoft.Dss.Services.Serializer.DataCache.RegisterSerializableType(XmlQualifiedName qualifiedName, Type serializableType, Boolean ignoreCustomAttributes)
at Microsoft.Dss.Services.Serializer.DataCache.RegisterSerializableType(XmlQualifiedName qualifiedName, Type serializableType)
at Microsoft.Dss.Services.Serializer. DataCache.RegisterSerializableTypes(Assembly assembly)
into Microsoft.Dss.Services.Serializer.DataCache.LoadServiceProxy(AssemblyLocations locations)
into Microsoft.Dss.Services.Serializer.DataCache.ExtractServiceSummaryFromProxy(String contract, ContractResults results, Func`2 serviceSummaryFilter, Boolean includeReferencedContracts, List`1 referencedContracts, AssemblyLocations locations) [01/19/2012 06:03:09][]
**Common Create Handler ExceptionSystem.InvalidOperationException: Service not found: schemas.tempuri.org/2012/01/arduinogenericorientat...
in Microsoft.Dss.Services.Serializer.DataCache.LoadServiceAssemblies(ServiceInfoType createRequest)
in Microsoft.Dss.Services. Constructor.ConstructorService.CommonCreateHandler(DsspOperation create) [/quote]
Detailed screenshots are shown in this and this picture.
If anyone can help, tell me plz, the work is worth because of this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Petrov, 2012-01-20
@Sellec

solved

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question