You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::EncoderInterface

class EncoderInterface : public MeasurementPoint<odometry_clock>

Representing a single encoder measurement.

Public Types

using Ptr = std::shared_ptr<EncoderInterface>
using CPtr = std::shared_ptr<const EncoderInterface>
using MeasurementPointT = MeasurementPoint<odometry_clock>

Public Functions

virtual ~EncoderInterface() = default
virtual const int64_t &getMeasurement() const = 0

Returns the number of ticks.