problem about microsoft-robotics-forums-Collection of common programming errors
msdn
microsoft-robotics-forums microsoft-robotics-concurrency-and-coordination-runtime-ccr
I just read this:“The CCR (and me) does not want its users to think about threads. The CCR user guide should be more explicitbut unless you want tight thread affinity for legacy interop reasons, always assume tasks, including tasks you yield to from an iterator will run on *arbitrary* thread context. You should basically not care what thread executes your task.”Ok,”unless […]”. However, what if we do need tight thread affinity, e.g. throw certain exceptions from the main threa
msdn
microsoft-robotics-forums microsoft-robotics-simulation
Hello, I have tried to copy and paste SimulatedLRF service to MySimulatedLRF service. Everything was ok. Then I have tried to copy and paste LaserRangeFinderEntity class from Entities.cs to MyLaserRangeFinderEntity. After all that, I modify some codes in MySimulatedLRF service.public class MySimulatedLRFService : svcbase.DsspServiceBase{simengine.MyLaserRangeFinderEntity _entity;void InsertEntityNotificationHandler(simengine.InsertSimulationEntity ins){_entity = (simengine.MyLaserRang
msdn
microsoft-robotics-forums microsoft-robotics-concurrency-and-coordination-runtime-ccr
I am having trouble getting any of the samples I have found on Causality working. I have written a small self containing test case, which unfortunately does not work. What am I missing? The exception still gets thrown as unhandled.using System;using System.Threading;using Microsoft.Ccr.Core;using System.Diagnostics;namespace Test.CCR.TestConsole{class Program{public static Stopwatch Sw = new Stopwatch();static void Main(string[] args){CausalityTest();}public static void CausalityTest(){Console.W
msdn
microsoft-robotics-forums microsoft-robotics-concurrency-and-coordination-runtime-ccr
I am trying to create Erlang-style supervisor trees, where a supervisor is reponsible for monitoring and restarted worker processes. Each worker process has a unique Id that I need to propogate back to the supervior when the worker has an unhandled exception. Is there any way to add do this with causalities? I can only get the exception to the supervisor but no “source worker id”.Any ideas?
msdn
microsoft-robotics-forums microsoft-robotics-concurrency-and-coordination-runtime-ccr
Hi,I have application which use CCR thread. I place Causaltiy which catch any unhandled exception.When that happen I want to terminate the application since it is not a recoverable exception.I’ve try doing so by throwing exception from the CCR exception port handler but TaskExecutionWorker.HandleException catch the exception and just log it and the thread terminates, but the application keep on running. I can use Environment.Exit or FailFast but this does not present the user with “we
msdn
msdn
microsoft-robotics-forums microsoft-robotics-hardware-configuration-and-troubleshooting
Hi,I have been using the July 2008 CTP version of MSRS. I have found that some of my web cameras when used with the latest web cam service throw an error: “Unhandled exception at 0x7e46c2ef in WebcamPipeServer.exe: 0xC0000005: Access violation reading location 0x00000023”. I originally posted this unde the community forum. I tried getting the previous version of the WebCam service to run under the July 2008 CTP. This has led to a whole series of new problems.Is there a work around
msdn
microsoft-robotics-forums microsoft-robotics-community
Hi,I have been using the July 2008 CTP version of MSRS. I have found that when I use my plder Web Cameras with the web cam service that an error is thrown: “Unhandled exception at 0x7e46c2ef in WebcamPipeServer.exe: 0xC0000005: Access violation reading location 0x00000023”. I could not find any other posts on this problem. I am unsure of how to troubleshoot this any further. I am going to see if I can get the previous version of the WebCam service to run under the July 2008 CTP. Is
msdn
Originally posted 2013-11-27 11:57:54.