| ipisoft.com https://forum.ipisoft.com/ |
|
| ipirecorder crashes during background evaluation https://forum.ipisoft.com/viewtopic.php?f=5&t=9171 |
Page 1 of 1 |
| Author: | cedriq [ Sat Sep 27, 2014 10:18 am ] |
| Post subject: | ipirecorder crashes during background evaluation |
Hi, IpiRecorder has been crashing lately during background evaluation when using 5 PS Moves with 2 BT doogles (with MotioninJoy) and 2 xtion pro lives. Here's the trace :
OS: Microsoft Windows NT 6.2.9200.0 (64 bits) .NET: 4.0.30319.34014 CPU count: 8 GC: workstation (Interactive) Running in 64 bits System.Exception: Exception during background evaluation ---> System.AggregateException: One or more errors occurred. ---> System.TimeoutException: Timeout while accumulating frames. at iPiRecorder.Base.VideoSource.Helpers.DepthFrameAccumulator.Accumulate() at iPiRecorder.Base.VideoSource.Helpers.DepthFrameAccumulator.Accumulate(IDepthSensor source, Int32 accumulateCount, Int32 skipCount, Int32 timeoutMilliseconds) at iPiRecorder.Xtion.XtionVideoSource.CorrelateWithHardwareRegistration() at iPiRecorder.Xtion.XtionVideoSource.CalculateDepthToColorApproximation(Boolean correlateWithHardwareRegistration) at iPiRecorder.Xtion.XtionVideoSource.AdjustDepthToColorApproximationForCurrentMode() at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.<PartitionerForEachWorker>b__30() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body) at iPiRecorder.Recorder.ViewModel.BackgroundStageViewModel.AdjustDepthToColorApproximation() at iPiRecorder.Recorder.ViewModel.BackgroundStageViewModel.EvaluateBackground() --- End of inner exception stack trace --- at iPiRecorder.Recorder.ViewModel.BackgroundStageViewModel.<>c__DisplayClass20.<EvaluateBackground>b__1d() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) |
|
| Author: | Snapz [ Sat Sep 27, 2014 2:09 pm ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
Are you trying to run 5 PS Eyes with 2 Xtions at same time, is this what you're trying, or do you mean 2-Xtions OR 5-PS Eyes used for separate background evals? I am sure you can't mix cameras for a single background eval. |
|
| Author: | cedriq [ Sat Sep 27, 2014 3:21 pm ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
It's 5 PS Moves ;). I can get it to work but sometimes it will just crash many times in a row and then work again. |
|
| Author: | Snapz [ Sat Sep 27, 2014 6:06 pm ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
Ahh ok, I re-read and see that now, my head saw PS Eyes the first time :) PS Moves don't even get accounted for in the background evaluation process, but I don't know that 2 dongles can be run at the same time, this may be contributing to the issue, you should be able to run 6 Moves off one dongle. MiJ states only one dongle can be run and rest should be turned off or unplugged. If you do get it to work sometimes the way you have it set up now, try it with just 1 dongle and see if works. |
|
| Author: | Greenlaw [ Sun Sep 28, 2014 10:57 pm ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
Just curious but why are you capturing data for 5 Moves? Unless I'm mistaken, the current version of iPi Mocap Studio only lets you associate 3 Moves per actor, and you can only record a single actor with Xtion. G. |
|
| Author: | vmaslov [ Mon Sep 29, 2014 5:08 am ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
This is possibly some USB/driver related issue. Try arranging BT dongles and Xtions onto separate USB controllers (for that, you should have 3 at least). |
|
| Author: | cedriq [ Fri Oct 03, 2014 7:00 pm ] |
| Post subject: | Re: ipirecorder crashes during background evaluation |
@Snapz I think I've already checked if one dongle can detect more than 4 PS Moves and I think I read somewhere that it can't. I'll check again. @Greenlaw I use 5 PSMoves to record the feet orientations too :) but Ipi Mocap Studio is definitely not meant for that. So I have to use many tricks to get reliable data and it takes time. IpiSoft should someday give people the possibility to use PS Moves for the feet cause I think it's where its Mocap data can be improved at least when using Kinect-like cameras. I don't know if feet orientations are tracked correctly with PS Eyes. When you use Ipi Mocap Studio for dance it's very important to get very accurate feet orientations. For the rest of the body the soft is great. @vmaslov I'll see if things improve when changing ports. It's a very random issue. I feel like sometimes changing which camera starts evaluating the background stops the issue. Moreover Ipi Recorder has never crashed while recording an action. |
|
| Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|