Class Accelerometer

Class Documentation

class Accelerometer

Public Functions

explicit Accelerometer(int32_t serial_number, int hub_port, bool is_hub_port_device, std::function<void(const double[3], double)> data_handler)
~Accelerometer()
int32_t getSerialNumber() const noexcept
void getAcceleration(double &x, double &y, double &z, double &timestamp) const
void setDataInterval(uint32_t interval_ms) const
void dataHandler(const double acceleration[3], double timestamp) const