#include <breezy_board.h>
Public Member Functions | |
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 |
BreezyBoard () | |
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 | { BARO_NONE, BARO_BMP280, BARO_MS5611 } |
Private Attributes | |
float | _accel_scale = 1.0 |
int | _board_revision = 2 |
float | _gyro_scale = 1.0 |
uint8_t | baro_type = BARO_NONE |
uint64_t | imu_time_us_ |
bool | new_imu_data_ |
uint16_t | pwm_idle_pwm_ = 1000 |
uint32_t | pwm_refresh_rate_ = 490 |
rc_type_t | rc_type_ = RC_TYPE_PPM |
serialPort_t * | Serial1 |
uint8_t | sonar_type = SONAR_NONE |
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 49 of file breezy_board.h.
|
private |
Enumerator | |
---|---|
SONAR_NONE | |
SONAR_I2C | |
SONAR_PWM |
Definition at line 59 of file breezy_board.h.
|
private |
Enumerator | |
---|---|
BARO_NONE | |
BARO_BMP280 | |
BARO_MS5611 |
Definition at line 70 of file breezy_board.h.
rosflight_firmware::BreezyBoard::BreezyBoard | ( | ) |
Definition at line 47 of file breezy_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 176 of file breezy_board.h.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 164 of file breezy_board.h.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 165 of file breezy_board.h.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 171 of file breezy_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 220 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 206 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 193 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 319 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 323 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 327 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 306 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 310 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 314 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 57 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 74 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 69 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 64 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 242 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 252 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 247 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 392 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 398 of file breezy_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 124 of file breezy_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 386 of file breezy_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 126 of file breezy_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 170 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 146 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 49 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 410 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 405 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 415 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 425 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 420 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 430 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 183 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 177 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 188 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 370 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 375 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 380 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 141 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 136 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 346 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 339 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 358 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 333 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 363 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 353 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 112 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 95 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 105 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 81 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 100 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 87 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 266 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 288 of file breezy_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 258 of file breezy_board.cpp.
|
private |
Definition at line 56 of file breezy_board.h.
|
private |
Definition at line 54 of file breezy_board.h.
|
private |
Definition at line 57 of file breezy_board.h.
|
private |
Definition at line 76 of file breezy_board.h.
|
private |
Definition at line 79 of file breezy_board.h.
|
private |
Definition at line 78 of file breezy_board.h.
|
private |
Definition at line 69 of file breezy_board.h.
|
private |
Definition at line 68 of file breezy_board.h.
|
private |
Definition at line 67 of file breezy_board.h.
|
private |
Definition at line 52 of file breezy_board.h.
|
private |
Definition at line 65 of file breezy_board.h.