Skip to content
Snippets Groups Projects
Commit cc0a9261 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Allow vision node to not calc depth

parent dde63ffa
No related branches found
No related tags found
1 merge request!316Resolves #343 GUI and Frame Refactor
Pipeline #28043 failed
......@@ -213,7 +213,7 @@ static void run(ftl::Configurable *root) {
if (sortedsel.size() > 1) encodable.emplace(sortedsel[1]);
// Do all processing in another thread... only if encoding of depth
//if (encodable.find(Channel::Depth) != encodable.end()) {
if (encodable.find(Channel::Depth) != encodable.end()) {
ftl::pool.push([sender,&stats_count,&latency,&frames,&stats_time,pipeline,&busy,fs](int id) {
// Do pipeline here...
pipeline->apply(*fs, *fs);
......@@ -239,7 +239,11 @@ static void run(ftl::Configurable *root) {
busy = false;
});
//}
} else {
LOG(INFO) << "NOT DOING DEPTH";
sender->forceAvailable(*fs, Channel::Depth);
busy = false;
}
// Lock colour right now to encode in parallel
fs->flush(ftl::codecs::Channel::Colour);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment