34 #pragma GCC diagnostic push 35 #pragma GCC diagnostic ignored "-Wunused-parameter" 41 for (
int i = 0;
i < 8;
i++)
60 for (
int i = 0;
i < 3;
i++)
118 for (
int i = 0;
i < 3;
i++)
241 return static_cast<float>(
rc_values[channel] - 1000) / 1000.0;
269 #pragma GCC diagnostic pop uint32_t clock_millis() override
void pwm_write(uint8_t channel, float value) override
static volatile int16_t gyro[3]
void board_reset(bool bootloader) override
void serial_init(uint32_t baud_rate, uint32_t dev) override
void pwm_disable() override
void backup_memory_clear()
void mag_read(float mag[3]) override
void backup_memory_write(const void *src, size_t len) override
bool new_imu_data() override
static constexpr size_t BACKUP_MEMORY_SIZE
void baro_update() override
void set_imu(float *acc, float *gyro, uint64_t time_us)
bool diff_pressure_present() override
uint16_t serial_bytes_available() override
void sensors_init() override
uint64_t clock_micros() override
void rc_init(rc_type_t rc_type) override
void set_rc(uint16_t *values)
bool backup_memory_read(void *dest, size_t len) override
float rc_read(uint8_t channel) override
void init_board() override
static volatile int16_t accel[3]
float battery_voltage_read() const override
bool sonar_present() override
GNSSFull gnss_full_read() override
void led1_toggle() override
uint8_t serial_read() override
void baro_read(float *pressure, float *temperature) override
void serial_flush() override
bool gnss_has_new_data() override
void diff_pressure_read(float *diff_pressure, float *temperature) override
void battery_voltage_set_multiplier(double multiplier) override
void memory_init() override
void set_time(uint64_t time_us)
bool battery_voltage_present() const override
bool mag_present() override
bool baro_present() override
void sonar_update() override
void led0_toggle() override
bool memory_read(void *dest, size_t len) override
void diff_pressure_update() override
bool battery_current_present() const override
bool imu_read(float accel[3], float *temperature, float gyro[3], uint64_t *time) override
void clock_delay(uint32_t milliseconds) override
void imu_not_responding_error() override
GNSSData gnss_read() override
void set_pwm_lost(bool lost)
void serial_write(const uint8_t *src, size_t len) override
void battery_current_set_multiplier(double multiplier) override
float battery_current_read() const override
bool memory_write(const void *src, size_t len) override
uint16_t num_sensor_errors()
void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm) override
uint8_t backup_memory_[BACKUP_MEMORY_SIZE]
void mag_update() override
float sonar_read() override