Skip to content
Snippets Groups Projects

Implements #58 rgbd groups

Merged Nicolas Pope requested to merge feature/58/group into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -64,12 +64,12 @@ void Group::sync(int N, int B) {
}
}
void Group::sync(std::function<bool(const FrameSet &)> cb) {
void Group::sync(std::function<bool(const ftl::rgbd::FrameSet &)> cb) {
callback_ = cb;
sync(-1,-1);
}
bool Group::getFrames(FrameSet &fs, bool complete) {
bool Group::getFrames(ftl::rgbd::FrameSet &fs, bool complete) {
// Use oldest frameset or search back until first complete set is found?
if (complete) {
UNIQUE_LOCK(mutex_, lk);
Loading