39 #include <px4_platform_common/px4_config.h> 40 #include <px4_platform_common/log.h> 41 #include <px4_platform_common/module_params.h> 42 #include <px4_platform_common/px4_work_queue/WorkItem.hpp> 77 (ParamInt<px4::params::SENS_BOARD_ROT>) _param_sens_board_rot,
79 (ParamFloat<px4::params::SENS_BOARD_X_OFF>) _param_sens_board_x_off,
80 (ParamFloat<px4::params::SENS_BOARD_Y_OFF>) _param_sens_board_y_off,
81 (ParamFloat<px4::params::SENS_BOARD_Z_OFF>) _param_sens_board_z_off
92 {
this,
ORB_ID(sensor_accel), 0},
93 {
this,
ORB_ID(sensor_accel), 1},
94 {
this,
ORB_ID(sensor_accel), 2}
void ParametersUpdate(bool force=false)
virtual ~VehicleAcceleration()
bool SensorCorrectionsUpdate(bool force=false)
Limiting / constrain helper functions.
Base publication wrapper class.
uORB::Subscription _sensor_correction_sub
sensor thermal correction subscription
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
uORB::SubscriptionCallbackWorkItem _sensor_sub[MAX_SENSOR_COUNT]
sensor data subscription
uORB::Subscription _sensor_bias_sub
sensor in-run bias correction subscription
matrix::Dcmf _board_rotation
rotation matrix for the orientation that the board is mounted
void SensorBiasUpdate(bool force=false)
static constexpr int MAX_SENSOR_COUNT
DEFINE_PARAMETERS((ParamInt< px4::params::SENS_BOARD_ROT >) _param_sens_board_rot,(ParamFloat< px4::params::SENS_BOARD_X_OFF >) _param_sens_board_x_off,(ParamFloat< px4::params::SENS_BOARD_Y_OFF >) _param_sens_board_y_off,(ParamFloat< px4::params::SENS_BOARD_Z_OFF >) _param_sens_board_z_off) uORB uORB::Subscription _params_sub
parameter updates subscription
uORB::SubscriptionCallbackWorkItem _sensor_selection_sub
selected primary sensor subscription