34 #pragma GCC diagnostic push 35 #pragma GCC diagnostic ignored "-Wunused-parameter" 42 for (
int i = 0;
i < 8;
i++)
61 for (
int i = 0;
i < 3;
i++)
118 for (
int i = 0;
i < 3;
i++)
189 return static_cast<float>(
rc_values[channel] - 1000)/1000.0 ;
222 #pragma GCC diagnostic push //Ignore blank fields in struct 223 #pragma GCC diagnostic ignored "-Wmissing-field-initializers" 225 #pragma GCC diagnostic pop 231 #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 mag_read(float mag[3]) override
bool new_imu_data() override
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 has_backup_data() override
float rc_read(uint8_t channel) override
void init_board() override
static volatile int16_t accel[3]
GNSSRaw gnss_raw_read() override
bool sonar_present() 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 memory_init() override
void set_time(uint64_t time_us)
bool mag_present() override
bool baro_present() override
void sonar_update() override
void led0_toggle() override
BackupData get_backup_data() override
bool memory_read(void *dest, size_t len) override
void diff_pressure_update() 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
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
void mag_update() override
float sonar_read() override