-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera view poor performance: fake framegrabber image appears as scattered lines instead of a single one #102
Comments
Originally posted by @nunoguedelha in #71 (comment) |
Originally posted by @nunoguedelha in #71 (comment) |
Originally posted by @nunoguedelha in #71 (comment) |
Originally posted by @nunoguedelha in #71 (comment) |
Checks...The previous analysis was verified by checking:
Quick FixA quick fix ( cd07da9 ) consists in adding a yarp-openmct/iCubTelemVizServer/terminationHandler.js Lines 123 to 124 in e5e0f28
We shall later implement a proper fix which does a backup of the original termination callbacks and restores them at the end, as done for the yarp-openmct/iCubTelemVizServer/iCubTelemVizServer.js Lines 197 to 203 in e5e0f28
yarp-openmct/iCubTelemVizServer/terminationHandler.js Lines 25 to 30 in e5e0f28
We could actually re-use the class TerminationHandler as a base, and derived classes for processing the different closures (iCubTelemVizServer , openmctStaticServer ).
Note on the Never Ending Main Processes
function processTimers(now) {
debug('process timer lists %d', now);
nextExpiry = Infinity;
let list;
let ranAtLeastOneList = false;
while (list = timerListQueue.peek()) {
if (list.expiry > now) {
nextExpiry = list.expiry;
return refCount > 0 ? nextExpiry : -nextExpiry;
}
if (ranAtLeastOneList)
runNextTicks();
else
ranAtLeastOneList = true;
listOnTimeout(list, now);
}
return 0;
} |
When visualization the fake framegrabber generated image, we see a swiping set of scattered lines instead of a single one.
The text was updated successfully, but these errors were encountered: