PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Classes | |
struct | ParameterHandles |
struct | Parameters |
class | TemperatureCompensation |
class TemperatureCompensation Applies temperature compensation to sensor data. More... | |
class | VotedSensorsUpdate |
class VotedSensorsUpdate More... | |
Functions | |
void | initialize_parameter_handles (ParameterHandles ¶meter_handles) |
initialize ParameterHandles struct More... | |
void | update_parameters (const ParameterHandles ¶meter_handles, Parameters ¶meters) |
Read out the parameters using the handles into the parameters struct. More... | |
Variables | |
constexpr uint8_t | MAG_COUNT_MAX = 4 |
constexpr uint8_t | GYRO_COUNT_MAX = 3 |
constexpr uint8_t | ACCEL_COUNT_MAX = 3 |
constexpr uint8_t | BARO_COUNT_MAX = 3 |
constexpr uint8_t | SENSOR_COUNT_MAX |
void sensors::initialize_parameter_handles | ( | ParameterHandles & | parameter_handles | ) |
initialize ParameterHandles struct
Definition at line 45 of file parameters.cpp.
References sensors::ParameterHandles::air_cmodel, sensors::ParameterHandles::air_tube_diameter_mm, sensors::ParameterHandles::air_tube_length, sensors::ParameterHandles::baro_qnh, sensors::ParameterHandles::board_offset, sensors::ParameterHandles::board_rotation, sensors::ParameterHandles::diff_pres_offset_pa, and param_find().
void sensors::update_parameters | ( | const ParameterHandles & | parameter_handles, |
Parameters & | parameters | ||
) |
Read out the parameters using the handles into the parameters struct.
Definition at line 96 of file parameters.cpp.
References sensors::Parameters::air_cmodel, sensors::ParameterHandles::air_cmodel, sensors::Parameters::air_tube_diameter_mm, sensors::ParameterHandles::air_tube_diameter_mm, sensors::Parameters::air_tube_length, sensors::ParameterHandles::air_tube_length, sensors::Parameters::baro_qnh, sensors::ParameterHandles::baro_qnh, sensors::Parameters::board_offset, sensors::ParameterHandles::board_offset, sensors::Parameters::board_rotation, sensors::ParameterHandles::board_rotation, sensors::Parameters::diff_pres_offset_pa, sensors::ParameterHandles::diff_pres_offset_pa, and param_get().
constexpr uint8_t sensors::ACCEL_COUNT_MAX = 3 |
Definition at line 48 of file common.h.
Referenced by sensors::TemperatureCompensation::initialize_parameter_handles(), sensors::VotedSensorsUpdate::initializeSensors(), sensors::TemperatureCompensation::parameters_update(), sensors::VotedSensorsUpdate::parametersUpdate(), sensors::TemperatureCompensation::print_status(), and sensors::TemperatureCompensation::set_sensor_id_accel().
constexpr uint8_t sensors::BARO_COUNT_MAX = 3 |
Definition at line 49 of file common.h.
Referenced by sensors::TemperatureCompensation::initialize_parameter_handles(), sensors::VotedSensorsUpdate::initializeSensors(), sensors::TemperatureCompensation::parameters_update(), sensors::TemperatureCompensation::print_status(), and sensors::TemperatureCompensation::set_sensor_id_baro().
constexpr uint8_t sensors::GYRO_COUNT_MAX = 3 |
Definition at line 47 of file common.h.
Referenced by sensors::TemperatureCompensation::initialize_parameter_handles(), sensors::VotedSensorsUpdate::initializeSensors(), sensors::TemperatureCompensation::parameters_update(), sensors::VotedSensorsUpdate::parametersUpdate(), sensors::TemperatureCompensation::print_status(), and sensors::TemperatureCompensation::set_sensor_id_gyro().
constexpr uint8_t sensors::MAG_COUNT_MAX = 4 |
Definition at line 46 of file common.h.
Referenced by sensors::VotedSensorsUpdate::initializeSensors(), and sensors::VotedSensorsUpdate::parametersUpdate().
constexpr uint8_t sensors::SENSOR_COUNT_MAX |
Definition at line 51 of file common.h.
Referenced by sensors::TemperatureCompensation::PerSensorData::PerSensorData(), sensors::TemperatureCompensation::PerSensorData::reset_temperature(), and sensors::VotedSensorsUpdate::SensorData::SensorData().