PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
SensorData () | |
Public Attributes | |
bool | enabled [SENSOR_COUNT_MAX] |
int | subscription [SENSOR_COUNT_MAX] |
raw sensor data subscription More... | |
uint8_t | priority [SENSOR_COUNT_MAX] |
sensor priority More... | |
uint8_t | last_best_vote |
index of the latest best vote More... | |
int | subscription_count |
DataValidatorGroup | voter |
unsigned int | last_failover_count |
Definition at line 150 of file voted_sensors_update.h.
|
inline |
Definition at line 151 of file voted_sensors_update.h.
References enabled, priority, sensors::SENSOR_COUNT_MAX, and subscription.
bool sensors::VotedSensorsUpdate::SensorData::enabled[SENSOR_COUNT_MAX] |
Definition at line 164 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::magPoll(), sensors::VotedSensorsUpdate::parametersUpdate(), and SensorData().
uint8_t sensors::VotedSensorsUpdate::SensorData::last_best_vote |
index of the latest best vote
Definition at line 168 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::baroPoll(), sensors::VotedSensorsUpdate::bestGyroFd(), sensors::VotedSensorsUpdate::calcAccelInconsistency(), sensors::VotedSensorsUpdate::calcGyroInconsistency(), sensors::VotedSensorsUpdate::calcMagInconsistency(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::magPoll(), and sensors::VotedSensorsUpdate::setRelativeTimestamps().
unsigned int sensors::VotedSensorsUpdate::SensorData::last_failover_count |
Definition at line 171 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::checkFailover().
uint8_t sensors::VotedSensorsUpdate::SensorData::priority[SENSOR_COUNT_MAX] |
sensor priority
Definition at line 167 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::baroPoll(), sensors::VotedSensorsUpdate::calcAccelInconsistency(), sensors::VotedSensorsUpdate::calcGyroInconsistency(), sensors::VotedSensorsUpdate::calcMagInconsistency(), sensors::VotedSensorsUpdate::checkFailover(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::magPoll(), sensors::VotedSensorsUpdate::parametersUpdate(), and SensorData().
int sensors::VotedSensorsUpdate::SensorData::subscription[SENSOR_COUNT_MAX] |
raw sensor data subscription
Definition at line 166 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::baroPoll(), sensors::VotedSensorsUpdate::bestGyroFd(), sensors::VotedSensorsUpdate::deinit(), sensors::VotedSensorsUpdate::gyroFd(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::initSensorClass(), sensors::VotedSensorsUpdate::magPoll(), sensors::VotedSensorsUpdate::parametersUpdate(), and SensorData().
int sensors::VotedSensorsUpdate::SensorData::subscription_count |
Definition at line 169 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::baroPoll(), sensors::VotedSensorsUpdate::calcAccelInconsistency(), sensors::VotedSensorsUpdate::calcGyroInconsistency(), sensors::VotedSensorsUpdate::calcMagInconsistency(), sensors::VotedSensorsUpdate::checkFailover(), sensors::VotedSensorsUpdate::deinit(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::initSensorClass(), sensors::VotedSensorsUpdate::magPoll(), sensors::VotedSensorsUpdate::numGyros(), and sensors::VotedSensorsUpdate::parametersUpdate().
DataValidatorGroup sensors::VotedSensorsUpdate::SensorData::voter |
Definition at line 170 of file voted_sensors_update.h.
Referenced by sensors::VotedSensorsUpdate::accelPoll(), sensors::VotedSensorsUpdate::baroPoll(), sensors::VotedSensorsUpdate::checkFailover(), sensors::VotedSensorsUpdate::gyroPoll(), sensors::VotedSensorsUpdate::initSensorClass(), sensors::VotedSensorsUpdate::magPoll(), sensors::VotedSensorsUpdate::printStatus(), and sensors::VotedSensorsUpdate::VotedSensorsUpdate().