class mp2p_icp_filters::FilterAbsoluteTimestamp

Overview

Creates a new per-point channel (default name: “timestamp_abs”) of type double.

This filter reads the relative timestamp channel “t” (float) and adds the reference “zero time” of the cloud (retrieved from the attached processing context’s velocity buffer) to compute an absolute UNIX timestamp for every point.

#include <FilterAbsoluteTimestamp.h>

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

    struct Parameters;

    // fields

    Parameters params;
    std::string name;

    // methods

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

Inherited Members

public:
    // methods

    virtual void filter(mp2p_icp::metric_map_t& inOut) const = 0;
    FilterBase& operator = (const FilterBase&);
    FilterBase& operator = (FilterBase&&);

Fields

Parameters params

Algorithm parameters

std::string name

If not empty, it will be used instead of class name in Logger and Profiler. This is loaded from the name key in the YAML configuration block.

Methods

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.