struct mola::KeyframeAttachmentBuffer::Options

Overview

#include <KeyframeAttachments.h>

struct Options
{
    // fields

    double max_age = 0.5;
    bool attach_once = false;
    std::size_t max_size = 10;
};

Fields

double max_age = 0.5

Maximum time offset [s] between an observation and the keyframe.

bool attach_once = false

If true, each observation is attached to one keyframe at most.

std::size_t max_size = 10

Older observations are dropped beyond this many.