class mp2p_icp_filters::FilterAdjustTimestamps

Overview

Modifies the per-point timestamps of a map layer according to one of a set of criteria (see TimestampAdjustMethod).

An optional time offset to be added on top of that adjustment is available via Parameters::time_offset

#include <FilterAdjustTimestamps.h>

class FilterAdjustTimestamps: public mp2p_icp_filters::FilterBase
{
public:
    // structs

    struct Parameters;

    // fields

    Parameters params_;

    // methods

    virtual void initialize(const mrpt::containers::yaml& cfg_block);
    virtual void filter(mp2p_icp::metric_map_t& inOut) const;
    virtual void attachToParameterSource(ParameterSource& source);
    void checkAllParametersAreRealized() const;
    void unrealizeParameters();
};

Inherited Members

public:
    // methods

    virtual void initialize(const mrpt::containers::yaml& cfg_block) = 0;
    virtual void filter(mp2p_icp::metric_map_t& inOut) const = 0;

Fields

Parameters params_

Algorithm parameters

Methods

virtual void initialize(const mrpt::containers::yaml& cfg_block)

Loads, from a YAML configuration block, all the common, and implementation-specific parameters.

virtual void filter(mp2p_icp::metric_map_t& inOut) const

See docs above for FilterBase.

virtual void attachToParameterSource(ParameterSource& source)

Each parameterizable object can be attached to one source at a given time

void checkAllParametersAreRealized() const

Throws if any parameter is uninitialized or realized() has not been called in the attached ParameterSource. All parameters can be reset so realize() needs to be called again by manually calling unrealizeParameters().

void unrealizeParameters()

Mark all non-constant parameters as non-evaluated again.