#include <airbourne_board.h>
Public Member Functions | |
AirbourneBoard () | |
void | backup_memory_clear (size_t len) override |
void | backup_memory_init () override |
bool | backup_memory_read (void *dest, size_t len) override |
void | backup_memory_write (const void *src, size_t len) override |
bool | baro_present () override |
void | baro_read (float *pressure, float *temperature) override |
void | baro_update () override |
bool | battery_current_present () const override |
float | battery_current_read () const override |
void | battery_current_set_multiplier (double multiplier) override |
bool | battery_voltage_present () const override |
float | battery_voltage_read () const override |
void | battery_voltage_set_multiplier (double multiplier) override |
void | board_reset (bool bootloader) override |
void | clock_delay (uint32_t milliseconds) override |
uint64_t | clock_micros () override |
uint32_t | clock_millis () override |
bool | diff_pressure_present () override |
void | diff_pressure_read (float *diff_pressure, float *temperature) override |
void | diff_pressure_update () override |
GNSSFull | gnss_full_read () override |
bool | gnss_has_new_data () override |
bool | gnss_present () override |
GNSSData | gnss_read () override |
void | gnss_update () override |
void | imu_not_responding_error () override |
bool | imu_read (float accel[3], float *temperature, float gyro[3], uint64_t *time_us) override |
void | init_board () override |
void | led0_off () override |
void | led0_on () override |
void | led0_toggle () override |
void | led1_off () override |
void | led1_on () override |
void | led1_toggle () override |
bool | mag_present () override |
void | mag_read (float mag[3]) override |
void | mag_update () override |
void | memory_init () override |
bool | memory_read (void *dest, size_t len) override |
bool | memory_write (const void *src, size_t len) override |
bool | new_imu_data () override |
uint16_t | num_sensor_errors () override |
void | pwm_disable () override |
void | pwm_init (uint32_t refresh_rate, uint16_t idle_pwm) override |
void | pwm_write (uint8_t channel, float value) override |
void | rc_init (rc_type_t rc_type) override |
bool | rc_lost () override |
float | rc_read (uint8_t channel) override |
void | sensors_init () override |
uint16_t | serial_bytes_available () override |
void | serial_flush () override |
void | serial_init (uint32_t baud_rate, uint32_t dev) override |
uint8_t | serial_read () override |
void | serial_write (const uint8_t *src, size_t len) override |
bool | sonar_present () override |
float | sonar_read () override |
void | sonar_update () override |
Private Types | |
enum | { SONAR_NONE, SONAR_I2C, SONAR_PWM } |
enum | SerialDevice : uint32_t { SERIAL_DEVICE_VCP = 0, SERIAL_DEVICE_UART3 = 3 } |
Private Attributes | |
float | _accel_scale = 1.0 |
int | _board_revision = 2 |
float | _gyro_scale = 1.0 |
MS4525 | airspeed_ |
MS5611 | baro_ |
AnalogDigitalConverter | battery_adc_ |
BatteryMonitor | battery_monitor_ |
Serial * | current_serial_ |
PWM_OUT | esc_out_ [PWM_NUM_OUTPUTS] |
I2C | ext_i2c_ |
M25P16 | flash_ |
UBLOX | gnss_ |
MPU6000 | imu_ |
std::function< void()> | imu_callback_ |
uint64_t | imu_time_us_ |
I2C | int_i2c_ |
GPIO | inv_pin_ |
LED | led1_ |
LED | led2_ |
HMC5883L | mag_ |
bool | new_imu_data_ |
RC_BASE * | rc_ = nullptr |
RC_PPM | rc_ppm_ |
RC_SBUS | rc_sbus_ |
SerialDevice | secondary_serial_device_ = SERIAL_DEVICE_VCP |
I2CSonar | sonar_ |
uint8_t | sonar_type = SONAR_NONE |
SPI | spi1_ |
SPI | spi3_ |
UART | uart1_ |
UART | uart3_ |
VCP | vcp_ |
Additional Inherited Members | |
Public Types inherited from rosflight_firmware::Board | |
enum | rc_type_t { RC_TYPE_PPM = 0, RC_TYPE_SBUS = 1 } |
Definition at line 67 of file airbourne_board.h.
|
private |
Enumerator | |
---|---|
SONAR_NONE | |
SONAR_I2C | |
SONAR_PWM |
Definition at line 110 of file airbourne_board.h.
|
private |
Enumerator | |
---|---|
SERIAL_DEVICE_VCP | |
SERIAL_DEVICE_UART3 |
Definition at line 94 of file airbourne_board.h.
rosflight_firmware::AirbourneBoard::AirbourneBoard | ( | ) |
Definition at line 36 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 482 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 466 of file airbourne_board.cpp.
|
overridevirtual |
<
Implements rosflight_firmware::Board.
Definition at line 471 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 477 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 196 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 207 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 202 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 349 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 354 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 359 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 334 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 339 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 344 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 56 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 73 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 68 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 63 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 213 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 223 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 218 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 300 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 252 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 246 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 259 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 251 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 175 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 159 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 38 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 440 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 435 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 445 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 455 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 450 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 460 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 180 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 191 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 186 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 419 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 424 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 429 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 154 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 149 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 397 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 388 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 405 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 365 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 413 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 383 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 133 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 100 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 127 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 79 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 122 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 95 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 231 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 241 of file airbourne_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 236 of file airbourne_board.cpp.
|
private |
Definition at line 107 of file airbourne_board.h.
|
private |
Definition at line 105 of file airbourne_board.h.
|
private |
Definition at line 108 of file airbourne_board.h.
|
private |
Definition at line 81 of file airbourne_board.h.
|
private |
Definition at line 80 of file airbourne_board.h.
|
private |
Definition at line 90 of file airbourne_board.h.
|
private |
Definition at line 91 of file airbourne_board.h.
|
private |
Definition at line 73 of file airbourne_board.h.
|
private |
Definition at line 86 of file airbourne_board.h.
|
private |
Definition at line 75 of file airbourne_board.h.
|
private |
Definition at line 89 of file airbourne_board.h.
|
private |
Definition at line 92 of file airbourne_board.h.
|
private |
Definition at line 78 of file airbourne_board.h.
|
private |
Definition at line 103 of file airbourne_board.h.
|
private |
Definition at line 119 of file airbourne_board.h.
|
private |
Definition at line 74 of file airbourne_board.h.
|
private |
Definition at line 85 of file airbourne_board.h.
|
private |
Definition at line 88 of file airbourne_board.h.
|
private |
Definition at line 87 of file airbourne_board.h.
|
private |
Definition at line 79 of file airbourne_board.h.
|
private |
Definition at line 118 of file airbourne_board.h.
|
private |
Definition at line 101 of file airbourne_board.h.
|
private |
Definition at line 82 of file airbourne_board.h.
|
private |
Definition at line 84 of file airbourne_board.h.
|
private |
Definition at line 99 of file airbourne_board.h.
|
private |
Definition at line 83 of file airbourne_board.h.
|
private |
Definition at line 116 of file airbourne_board.h.
|
private |
Definition at line 76 of file airbourne_board.h.
|
private |
Definition at line 77 of file airbourne_board.h.
|
private |
Definition at line 71 of file airbourne_board.h.
|
private |
Definition at line 72 of file airbourne_board.h.
|
private |
Definition at line 70 of file airbourne_board.h.