PX4 Firmware
PX4 Autopilot Software http://px4.io
sensors::VotedSensorsUpdate::SensorData Struct Reference
Collaboration diagram for sensors::VotedSensorsUpdate::SensorData:

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
 

Detailed Description

Definition at line 150 of file voted_sensors_update.h.

Constructor & Destructor Documentation

◆ SensorData()

sensors::VotedSensorsUpdate::SensorData::SensorData ( )
inline

Definition at line 151 of file voted_sensors_update.h.

References enabled, priority, sensors::SENSOR_COUNT_MAX, and subscription.

Member Data Documentation

◆ enabled

◆ last_best_vote

◆ last_failover_count

unsigned int sensors::VotedSensorsUpdate::SensorData::last_failover_count

Definition at line 171 of file voted_sensors_update.h.

Referenced by sensors::VotedSensorsUpdate::checkFailover().

◆ priority

◆ subscription

◆ subscription_count

◆ voter


The documentation for this struct was generated from the following file: