Closed corot closed 10 years ago
After thinking twice, this PR should not be applied as it is now, after solving the killing problem. I let it open to encourage people to play around.
I managed to solve #28 without creating additional problems, and all will be commited with #26 fix, so I can close this.
Surprisingly enough, remove the g_context.quit(); at the bottom of onNewDepthSample increase operation rate in some herzs, at least on my computer. BUT now the driver always escalates to SIGTERM when killing. Please give a try to confirm the improvement and hopefully find a solution to the SIGTERM killing.
But it's still too low.