Inert Rotation Sensor#
Defined in namespace hal::soft
#include <libhal-soft/inert/inert_rotation_sensor.hpp>
-
class inert_rotation_sensor : public hal::rotation_sensor#
Inert implementation of rotation measuring hardware.
Public Static Functions
-
static inline result<inert_rotation_sensor> create(read_t p_position)#
Factory function to create inert_rotation_sensor object.
- Parameters:
p_position – - read_t object to return when read() is called
- Returns:
result<inert_rotation_sensor> - Constructed inert_rotation_sensor onject
-
static inline result<inert_rotation_sensor> create(read_t p_position)#