Skip to content

Class hal::soft::inert_accelerometer

ClassList > hal > soft > inert_accelerometer

Inert implementation of acceleration sensing hardware.

  • #include <inert_accelerometer.hpp>

Inherits the following classes: hal::accelerometer

Public Functions inherited from hal::accelerometer

See hal::accelerometer

Type Name
result< read_t > read ()
Read the latest acceleration sensed by the device.
virtual ~accelerometer () = default

Public Static Functions

Type Name
result< inert_accelerometer > create (read_t p_values)
Factory function to create inert_accelerometer object.

Public Static Functions Documentation

function create

Factory function to create inert_accelerometer object.

static inline result< inert_accelerometer > hal::soft::inert_accelerometer::create (
    read_t p_values
) 

Parameters:

Returns:

result<inert_accelerometer> - Constructed inert_accelerometer object


The documentation for this class was generated from the following file libraries/include/libhal-soft/inert_drivers/inert_accelerometer.hpp