Class Gyroscope

Class Documentation

class Gyroscope

Public Functions

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