|
|
|
@ -44,6 +44,9 @@ public:
@@ -44,6 +44,9 @@ public:
|
|
|
|
|
|
|
|
|
|
// notify user of a fatal startup error related to available sensors.
|
|
|
|
|
static void sensor_config_error(const char *reason); |
|
|
|
|
// permit other libraries (in particular, GCS_MAVLink) to detect
|
|
|
|
|
// that we're never going to boot properly:
|
|
|
|
|
static bool in_sensor_config_error(void) { return _in_sensor_config_error; } |
|
|
|
|
|
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN |
|
|
|
|
// public method to start a driver
|
|
|
|
@ -149,6 +152,8 @@ private:
@@ -149,6 +152,8 @@ private:
|
|
|
|
|
|
|
|
|
|
#endif // HAL_BOARD_PX4 || HAL_BOARD_VRBRAIN
|
|
|
|
|
|
|
|
|
|
static bool _in_sensor_config_error; |
|
|
|
|
|
|
|
|
|
// target temperarure for IMU in Celsius, or -1 to disable
|
|
|
|
|
AP_Int8 _imu_target_temperature; |
|
|
|
|
}; |
|
|
|
|