mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 14:03:34 +08:00
data_validator_group: add a method to get the state of the sensor with the provided index
This commit is contained in:
committed by
Daniel Agar
parent
0f4439d281
commit
011b4c2e4e
@@ -111,6 +111,13 @@ public:
|
||||
*/
|
||||
uint32_t failover_state();
|
||||
|
||||
/**
|
||||
* Get the error state of the sensor with the specified index
|
||||
*
|
||||
* @return bitmask with error states of the sensor
|
||||
*/
|
||||
uint32_t get_sensor_state(unsigned index);
|
||||
|
||||
/**
|
||||
* Print the validator value
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user