Skip to content
Snippets Groups Projects
Commit f1cc24b3 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

pose from vision node

parent d77533d3
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,8 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd::
input->setPose(input->getPose());
continue;
}
input->setPose(T->second);
//input->setPose(T->second);
}
}
......@@ -122,6 +123,7 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd::
for (auto s : srcs) {
s->setChannel(Channel::Depth);
grp->addSource(s);
LOG(INFO) << s->getPose();
}
return grp;
}
......@@ -233,6 +235,7 @@ static void run(ftl::Configurable *root) {
auto reconstr = ftl::create<ftl::Reconstruction>(root, std::string("recon")+std::to_string(i), std::to_string(i));
//reconstr->setGenerator(gen);
gen->onFrameSet([stream, reconstr](ftl::rgbd::FrameSet &fs) {
LOG(INFO) << fs.frames[0].getPose();
stream->select(fs.id, Channel::Colour + Channel::Depth);
return reconstr->post(fs);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment