Inert Distance Sensor#
Defined in namespace hal::soft
#include <libhal-soft/inert/inert_distance_sensor.hpp>
-
class inert_distance_sensor : public hal::distance_sensor#
Inert implementation of linear distance hardware.
Public Functions
-
inline constexpr inert_distance_sensor(hal::meters p_result)#
Create inert_distance_sensor object.
- Parameters:
p_result – - what will be returned from the read function.
-
inline constexpr inert_distance_sensor(hal::meters p_result)#