#include <sil_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 (void) override |
void | baro_read (float *pressure, float *temperature) override |
void | baro_update (void) 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 (void) override |
void | diff_pressure_read (float *diff_pressure, float *temperature) override |
void | diff_pressure_update (void) override |
void | gazebo_setup (gazebo::physics::LinkPtr link, gazebo::physics::WorldPtr world, gazebo::physics::ModelPtr model, ros::NodeHandle *nh, std::string mav_type) |
const int * | get_outputs () const |
rosflight_firmware::GNSSFull | gnss_full_read () override |
bool | gnss_has_new_data () override |
bool | gnss_present () override |
rosflight_firmware::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 (void) override |
void | led0_off (void) override |
void | led0_on (void) override |
void | led0_toggle (void) override |
void | led1_off (void) override |
void | led1_on (void) override |
void | led1_toggle (void) override |
bool | mag_present (void) override |
void | mag_read (float mag[3]) override |
void | mag_update (void) override |
void | memory_init (void) 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 (void) override |
void | pwm_disable (void) 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 (void) override |
float | rc_read (uint8_t channel) override |
void | sensors_init () override |
SIL_Board () | |
bool | sonar_present (void) override |
float | sonar_read (void) override |
void | sonar_update (void) override |
Public Member Functions inherited from rosflight_firmware::UDPBoard | |
uint16_t | serial_bytes_available (void) override |
void | serial_flush () override |
void | serial_init (uint32_t baud_rate, uint32_t dev) override |
uint8_t | serial_read (void) override |
void | serial_write (const uint8_t *src, size_t len) override |
void | set_ports (std::string bind_host, uint16_t bind_port, std::string remote_host, uint16_t remote_port) |
UDPBoard (std::string bind_host="localhost", uint16_t bind_port=14525, std::string remote_host="localhost", uint16_t remote_port=14520) | |
~UDPBoard () | |
Private Member Functions | |
bool | motors_spinning () |
void | RCCallback (const rosflight_msgs::RCRaw &msg) |
Static Private Attributes | |
static constexpr size_t | BACKUP_SRAM_SIZE {1024} |
Additional Inherited Members | |
Public Types inherited from rosflight_firmware::Board | |
enum | rc_type_t |
Public Attributes inherited from rosflight_firmware::Board | |
RC_TYPE_PPM | |
RC_TYPE_SBUS | |
Definition at line 54 of file sil_board.h.
rosflight_sim::SIL_Board::SIL_Board | ( | ) |
Definition at line 40 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 555 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 536 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 538 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 549 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 324 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 329 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 161 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 418 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 423 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 428 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 403 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 408 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 413 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 149 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 165 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 159 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 153 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 353 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 361 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 165 of file sil_board.h.
void rosflight_sim::SIL_Board::gazebo_setup | ( | gazebo::physics::LinkPtr | link, |
gazebo::physics::WorldPtr | world, | ||
gazebo::physics::ModelPtr | model, | ||
ros::NodeHandle * | nh, | ||
std::string | mav_type | ||
) |
Definition at line 56 of file sil_board.cpp.
|
inline |
Definition at line 223 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 634 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 630 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 568 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 574 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 572 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 289 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 218 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 42 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 529 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 528 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 530 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 533 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 532 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 534 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 319 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 294 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 157 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 480 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 482 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 499 of file sil_board.cpp.
|
private |
Definition at line 518 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 204 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 199 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 467 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 434 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 463 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 477 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 472 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 449 of file sil_board.cpp.
|
private |
Definition at line 561 of file sil_board.cpp.
|
overridevirtual |
TODO these sensors have noise, no bias noise params are hard coded
Implements rosflight_firmware::Board.
Definition at line 170 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 381 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 386 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 169 of file sil_board.h.
|
private |
Definition at line 90 of file sil_board.h.
|
private |
Definition at line 66 of file sil_board.h.
|
private |
Definition at line 67 of file sil_board.h.
|
private |
Definition at line 65 of file sil_board.h.
|
private |
Definition at line 93 of file sil_board.h.
|
private |
Definition at line 79 of file sil_board.h.
|
private |
Definition at line 77 of file sil_board.h.
|
private |
Definition at line 78 of file sil_board.h.
|
private |
Definition at line 133 of file sil_board.h.
|
staticprivate |
Definition at line 132 of file sil_board.h.
|
private |
Definition at line 92 of file sil_board.h.
|
private |
Definition at line 71 of file sil_board.h.
|
private |
Definition at line 69 of file sil_board.h.
|
private |
Definition at line 70 of file sil_board.h.
|
private |
Definition at line 131 of file sil_board.h.
|
private |
Definition at line 130 of file sil_board.h.
|
private |
Definition at line 118 of file sil_board.h.
|
private |
Definition at line 87 of file sil_board.h.
|
private |
Definition at line 99 of file sil_board.h.
|
private |
Definition at line 89 of file sil_board.h.
|
private |
Definition at line 63 of file sil_board.h.
|
private |
Definition at line 62 of file sil_board.h.
|
private |
Definition at line 61 of file sil_board.h.
|
private |
Definition at line 85 of file sil_board.h.
|
private |
Definition at line 120 of file sil_board.h.
|
private |
Definition at line 59 of file sil_board.h.
|
private |
Definition at line 57 of file sil_board.h.
|
private |
Definition at line 112 of file sil_board.h.
|
private |
Definition at line 128 of file sil_board.h.
|
private |
Definition at line 110 of file sil_board.h.
|
private |
Definition at line 106 of file sil_board.h.
|
private |
Definition at line 91 of file sil_board.h.
|
private |
Definition at line 75 of file sil_board.h.
|
private |
Definition at line 73 of file sil_board.h.
|
private |
Definition at line 74 of file sil_board.h.
|
private |
Definition at line 114 of file sil_board.h.
|
private |
Definition at line 105 of file sil_board.h.
|
private |
Definition at line 119 of file sil_board.h.
|
private |
Definition at line 108 of file sil_board.h.
|
private |
Definition at line 96 of file sil_board.h.
|
private |
Definition at line 102 of file sil_board.h.
|
private |
Definition at line 100 of file sil_board.h.
|
private |
Definition at line 101 of file sil_board.h.
|
private |
Definition at line 125 of file sil_board.h.
|
private |
Definition at line 126 of file sil_board.h.
|
private |
Definition at line 127 of file sil_board.h.
|
private |
Definition at line 115 of file sil_board.h.
|
private |
Definition at line 95 of file sil_board.h.
|
private |
Definition at line 111 of file sil_board.h.
|
private |
Definition at line 109 of file sil_board.h.
|
private |
Definition at line 82 of file sil_board.h.
|
private |
Definition at line 83 of file sil_board.h.
|
private |
Definition at line 81 of file sil_board.h.
|
private |
Definition at line 97 of file sil_board.h.
|
private |
Definition at line 86 of file sil_board.h.
|
private |
Definition at line 104 of file sil_board.h.