ecdev::IEncoderProfile
Facade-facing contract for an encoder / position sensor (CiA 406 family). More...
#include <encoder_profile.hpp>
Inherited by ecdev::CiA406EncoderProfile
Public Functions
| Name | |
|---|---|
| virtual | ~IEncoderProfile() =default |
| virtual std::int32_t | velocity() const =0 Latest velocity value, if the sensor maps one (otherwise 0). |
| virtual std::uint16_t | status() const =0 Raw status/operating-status word, if mapped (otherwise 0). |
| virtual std::int32_t | position() const =0 Latest position value (counts) from the sensor. |
Detailed Description
class ecdev::IEncoderProfile;
Facade-facing contract for an encoder / position sensor (CiA 406 family).
The Encoder facade depends only on this. Safe to call from an application thread while the RT cycle runs.
Public Functions Documentation
function ~IEncoderProfile
virtual ~IEncoderProfile() =default
function velocity
virtual std::int32_t velocity() const =0
Latest velocity value, if the sensor maps one (otherwise 0).
Reimplemented by: ecdev::CiA406EncoderProfile::velocity
function status
virtual std::uint16_t status() const =0
Raw status/operating-status word, if mapped (otherwise 0).
Reimplemented by: ecdev::CiA406EncoderProfile::status
function position
virtual std::int32_t position() const =0
Latest position value (counts) from the sensor.
Reimplemented by: ecdev::CiA406EncoderProfile::position
Updated on 2026-07-13 at 20:44:41 +0000