47 #include <sys/types.h> 54 #include "rnr/rnrconfig.h" 74 const double LaeThreadImu::ThreadImuPrioDft = 80;
75 const double LaeThreadImu::ThreadImuHzDft = 30.0;
virtual void exec()
Execute watchdog task within scheduled cycle.
double getImuHz() const
Get IMU tasks thread cycle rate tune parameter (hertz).
Laelaps thread base class interface.
int reload(const LaeTunes &tunes)
Reload tunable paramaters.
void unlock()
Unlock the I2C bus.
Laelaps tuning data class.
virtual ~LaeThreadImu()
Destructor.
void lock()
Lock the I2C bus.
virtual int reload(const laelaps::LaeTunes &tunes)
Reload with new tuning parameters.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
Laelaps common utilities.
Laelaps built-in Inertial Measurement Unit class interface.
virtual void setHz(const double fHz)
Calculate thread new full cycle run rate.
double m_fHz
thread cycle run rate (Hertz)
virtual void exec()
Exectute one step to read, convert, and compute IMU values.
Laelaps IMU thread class interface.
sensor::imu::LaeImuCleanFlight & m_hwif
hardware interface
Top-level package include file.