Inert Accelerometer#

Inert Driver#

Defined in namespace hal::soft

#include <libhal-soft/inert/inert_accelerometer.hpp>

class inert_accelerometer : public hal::accelerometer#

Inert implementation of acceleration sensing hardware.

Public Static Functions

static inline result<inert_accelerometer> create(read_t p_values)#

Factory function to create inert_accelerometer object.

Parameters:

p_values – - Read values to return when reading the inert_accelerometer.

Returns:

result<inert_accelerometer> - Constructed inert_accelerometer object