Browse Source

AP_Airspeed: added healthy() API

master
Andrew Tridgell 11 years ago
parent
commit
9d7f24f754
  1. 3
      libraries/AP_Airspeed/AP_Airspeed.h

3
libraries/AP_Airspeed/AP_Airspeed.h

@ -125,6 +125,9 @@ public: @@ -125,6 +125,9 @@ public:
// log data to MAVLink
void log_mavlink_send(mavlink_channel_t chan, const Vector3f &vground);
// return health status of sensor
bool healthy(void) const { return _healthy; }
static const struct AP_Param::GroupInfo var_info[];

Loading…
Cancel
Save