loading
 
RoboRealm and MSRS 1.5 VPL
iand  [10 posts]
16 year
Hi,

I am a newbie to RoboRealm and I saw the guidelines for connecting RoboRealm with MSRS via the command console.

Is there any way to use the RoboRealm Service which is shown under "services" in VPL? I tried to connect it different ways, but it didnt work.

Anyway, if Im trying with the command console, Im getting errors that assembly didnt work and when I cam opening localhost:50000/RoboRealm there is the MSRS web interface without the RoboRealm window or RoboRealm web cam stream. I took the newest version of the RoboRealm MSRS interface code and copied all neccessary DLLs to the \bin folder. I have put the error output below.

Any hints are very much appreciated.

Best wishes

iandi



Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Microsoft Robotics Studio (1.5)\bin>dsshost /p:50000 /t:50001 /m:"roborealm.i
nterface.manifest.xml"
*   Service uri:  [07/28/2007 01:51:30][http://acer-4faa111e99:50000/directory]
*   Service uri:  [07/28/2007 01:51:30][http://acer-4faa111e99:50000/constructor
/af115486-2298-4f6f-8f84-d0f215f9078e]
*   Starting manifest load: file:///C:/Microsoft%20Robotics%20Studio%20(1.5)/bin
/roborealm.interface.manifest.xml [07/28/2007 01:51:31][http://acer-4faa111e99:5
0000/manifestloaderclient]
Rebuilding contract directory cache. This will take a few moments ...
Contract directory cache refresh complete
*** System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Ass
embly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab,
wenn Sie weitere Informationen benötigen.
   bei System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
   bei System.Reflection.Assembly.GetTypes()
   bei Microsoft.Dss.Services.Serializer.DataCache.LoadServiceTransform(Assembly
Locations locations)
   bei Microsoft.Dss.Services.ContractDirectory.ContractDirectory.FinishUp(Query
ServiceContract query, ContractResults results, Port`1 directoryResultsPort) [07
/28/2007 01:51:51][http://acer-4faa111e99:50000/contractdirectory]
*** Manifest Loader: Creating service failed: http://www.roborealm.com/2007/05/i
nterface.html.
Reason: System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der
Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft
ab, wenn Sie weitere Informationen benötigen.
   bei System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
   bei System.Reflection.Assembly.GetTypes()
   bei Microsoft.Dss.Services.Serializer.DataCache.LoadServiceTransform(Assembly
Locations locations)
   bei Microsoft.Dss.Services.ContractDirectory.ContractDirectory.FinishUp(Query
ServiceContract query, ContractResults results, Port`1 directoryResultsPort) [07
/28/2007 01:51:51][http://acer-4faa111e99:50000/manifestloader/f430e6e3-2994-4d1
a-9894-30d6645b2f34]
*   Manifest load complete [07/28/2007 01:51:51][http://acer-4faa111e99:50000/ma
nifestloaderclient]

Anonymous 16 year
iandi,

Its a little hard to understand what the error is as it is in German but one thing we did notice is that the manifest file is not in the right spot. You should place it in

C:/Microsoft Robotics Studio (1.5)/Samples/Config/roborealm.interface.manifest.xml

and run it using

C:\Microsoft Robotics Studio (1.5)\bin>dsshost /p:50000 /t:50001 /m:"..\Samples\Config\roborealm.interface.manifest.xml"

and see if the system likes that better.

STeven.
Same problem; error message in English
Anonymous  [2 posts]
16 year
Hi everyone,

I am having the same problem. Here is the error message in English:

*   Service uri:  [08/02/2007 22:36:01][http://thinkpad:50000/directory]
*   Service uri:  [08/02/2007 22:36:01][http://thinkpad:50000/constructor/b9a58e27-341f-46c5-bdf2-7ee766e9f59b]
*   Starting manifest load: file:///C:/Microsoft%20Robotics%20Studio%20(1.5)/samples/Config/RoboRealm.Interface.manifest.xml [08/02/2007 22:36:02][http://thinkpad:50000/manifestloaderclient]
Rebuilding contract directory cache. This will take a few moments ...
Contract directory cache refresh complete
*** System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
   at System.Reflection.Assembly.GetTypes()
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceTransform(AssemblyLocations locations)
   at Microsoft.Dss.Services.ContractDirectory.ContractDirectory.FinishUp(QueryServiceContract query, ContractResults results, Port`1 directoryResultsPort) [08/02/2007 22:36:08][http://thinkpad:50000/contractdirectory]
*** Manifest Loader: Creating service failed: http://www.roborealm.com/2007/05/interface.html.
Reason: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
   at System.Reflection.Assembly.GetTypes()
   at Microsoft.Dss.Services.Serializer.DataCache.LoadServiceTransform(AssemblyLocations locations)
   at Microsoft.Dss.Services.ContractDirectory.ContractDirectory.FinishUp(QueryServiceContract query, ContractResults results, Port`1 directoryResultsPort) [08/02/2007 22:36:08][http://thinkpad:50000/manifestloader/06c5b2f9-b0cc-41d8-bd82-29376dbbfae3]
*   Manifest load complete [08/02/2007 22:36:08][http://thinkpad:50000/manifestloaderclient]

Thanks for any help,

Jochen
Anonymous  [2 posts] 16 year
Hi,

I have been able to get rid of the above-mentioned error by recompiling the RoboRealm.Interface DLLs, but I now get a different error message:

Exception during service type activation:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at RoboRealm.RR_API.open() at RoboRealm.FrameGrabber..ctor() at RoboRealm.InterfaceService..ctor(DsspServiceCreationPort creationPort) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Dss.Services.Constructor.ConstructService.InvokeServiceClassConstructor() at Microsoft.Dss.Services.Constructor.ConstructService.ReflectAndConstructService(ServiceCache Cache)

Could this be because I had no camera attached to the system when I did the test?

Thanks,

Jochen.
Anonymous 16 year
Jochen,

We recompiled the dlls for MSRS 1.5 and have uploaded them to the website at

http://www.roborealm.com/downloads/MSRS_v1.5.zip

Can you download the latest compile and try again.

Also, be sure that the RR API server is on. The above error message may be related to that. Note that we recompiled and tested the interfaces to work with the 1.5 version just released a couple weeks ago.

STeven.
Anonymous 16 year
Hi Steven,

Thanks for recompiling the DLLs. Looks like it's working now. The error message was probably indeed related to not starting the API server...

Best,

Jochen.
Problems with setup Roborealm in MSRS
charles  [2 posts]
16 year
hi,

i have the same problem with setup Roborealm, it sends same error message, i download the new file recompiled "MSRS_v1.5.zip" but nothing, the same error appers
charles  [2 posts] 16 year
hi,

i solved my problem, this error message is because i did not have open RoboRealm !!
So, when you executed the command: bin\dsshost /p:50000 /t:50001 /m:"samples\Config\RoboRealm.Interface.manifest.xml"

be sure that you have open RoboRealm :), it was a silly mistake for my part, but thats things happens :)

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index