32 #ifndef ROSFLIGHT_FIRMWARE_AIRBOURNE_BOARD_H 33 #define ROSFLIGHT_FIRMWARE_AIRBOURNE_BOARD_H 133 void serial_init(uint32_t baud_rate, uint32_t dev)
override;
134 void serial_write(
const uint8_t *src,
size_t len)
override;
149 void mag_read(
float mag[3])
override;
173 float rc_read(uint8_t channel)
override;
176 void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm)
override;
178 void pwm_write(uint8_t channel,
float value)
override;
183 bool memory_write(
const void *src,
size_t len)
override;
201 #endif // ROSFLIGHT_FIRMWARE_AIRBOURNE_BOARD_H void serial_flush() override
float sonar_read() override
SerialDevice secondary_serial_device_
void pwm_disable() override
void sensors_init() override
void led0_toggle() override
void diff_pressure_update() override
static volatile int16_t gyro[3]
uint16_t num_sensor_errors() override
bool diff_pressure_present() override
void mag_update() override
void baro_read(float *pressure, float *temperature) override
bool new_imu_data() override
bool gnss_has_new_data() override
bool memory_write(const void *src, size_t len) override
void sonar_update() override
void memory_init() override
bool baro_present() override
void diff_pressure_read(float *diff_pressure, float *temperature) override
bool imu_read(float accel[3], float *temperature, float gyro[3], uint64_t *time_us) override
GNSSRaw gnss_raw_read() override
void clock_delay(uint32_t milliseconds) override
uint32_t clock_millis() override
void init_board() override
PWM_OUT esc_out_[PWM_NUM_OUTPUTS]
rosflight_firmware::BackupData get_backup_data() override
static volatile int16_t accel[3]
void gnss_update() override
std::function< void()> imu_callback_
void serial_init(uint32_t baud_rate, uint32_t dev) override
float rc_read(uint8_t channel) override
bool sonar_present() override
bool gnss_present() override
bool has_backup_data() override
GNSSData gnss_read() override
bool mag_present() override
bool memory_read(void *dest, size_t len) override
void mag_read(float mag[3]) override
uint64_t clock_micros() override
void imu_not_responding_error() override
void pwm_write(uint8_t channel, float value) override
void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm) override
void serial_write(const uint8_t *src, size_t len) override
void board_reset(bool bootloader) override
void rc_init(rc_type_t rc_type) override
void baro_update() override
void led1_toggle() override
uint16_t serial_bytes_available() override
uint8_t serial_read() override