42 #include <px4_platform_common/module_params.h> 86 (ParamFloat<px4::params::IMU_ACCEL_CUTOFF>) _param_imu_accel_cutoff
Accelerometer driver interface.
PX4Accelerometer(uint32_t device_id, uint8_t priority=ORB_PRIO_DEFAULT, enum Rotation rotation=ROTATION_NONE)
~PX4Accelerometer() override
A class to implement a second order low pass filter on a Vector3f Based on LowPassFilter2p.hpp by Leonard Hall LeonardTHall@gmail.com
void set_sample_rate(unsigned rate)
API for the uORB lightweight object broker.
void update(hrt_abstime timestamp, float x, float y, float z)
matrix::Vector3f _calibration_offset
static int32_t device_id[max_accel_sens]
High-resolution timer with callouts and timekeeping.
void set_error_count(uint64_t error_count)
math::LowPassFilter2pVector3f _filter
void set_cutoff_frequency(float sample_freq, float cutoff_freq)
Abstract class for any character device.
matrix::Vector3f _calibration_scale
void set_temperature(float temperature)
void configure_filter(float cutoff_freq)
Rotation
Enum for board and external compass rotations.
int ioctl(cdev::file_t *filp, int cmd, unsigned long arg) override
Perform an ioctl operation on the device.
int _class_device_instance
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
void set_scale(float scale)
uORB::PublicationMultiData< sensor_accel_s > _sensor_accel_pub
void set_device_type(uint8_t devtype)