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

Revert "pose from vision node"

This reverts commit bb6e2d93.
parent bb6e2d93
No related branches found
No related tags found
1 merge request!210Feature/multiplexer pose
Pipeline #18151 failed
...@@ -114,8 +114,7 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd:: ...@@ -114,8 +114,7 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd::
input->setPose(input->getPose()); input->setPose(input->getPose());
continue; continue;
} }
//input->setPose(T->second); input->setPose(T->second);
} }
} }
...@@ -123,7 +122,6 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd:: ...@@ -123,7 +122,6 @@ static ftl::rgbd::Generator *createSourceGenerator(const std::vector<ftl::rgbd::
for (auto s : srcs) { for (auto s : srcs) {
s->setChannel(Channel::Depth); s->setChannel(Channel::Depth);
grp->addSource(s); grp->addSource(s);
LOG(INFO) << s->getPose();
} }
return grp; return grp;
} }
...@@ -235,7 +233,6 @@ static void run(ftl::Configurable *root) { ...@@ -235,7 +233,6 @@ static void run(ftl::Configurable *root) {
auto reconstr = ftl::create<ftl::Reconstruction>(root, std::string("recon")+std::to_string(i), std::to_string(i)); auto reconstr = ftl::create<ftl::Reconstruction>(root, std::string("recon")+std::to_string(i), std::to_string(i));
//reconstr->setGenerator(gen); //reconstr->setGenerator(gen);
gen->onFrameSet([stream, reconstr](ftl::rgbd::FrameSet &fs) { gen->onFrameSet([stream, reconstr](ftl::rgbd::FrameSet &fs) {
LOG(INFO) << fs.frames[0].getPose();
stream->select(fs.id, Channel::Colour + Channel::Depth); stream->select(fs.id, Channel::Colour + Channel::Depth);
return reconstr->post(fs); 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