#include <sil_board.h>
Public Member Functions | |
bool | baro_present (void) override |
void | baro_read (float *pressure, float *temperature) override |
void | baro_update (void) 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) |
rosflight_firmware::BackupData | get_backup_data (void) override |
const int * | get_outputs () const |
bool | gnss_has_new_data () override |
bool | gnss_present () override |
rosflight_firmware::GNSSRaw | gnss_raw_read () override |
rosflight_firmware::GNSSData | gnss_read () override |
void | gnss_update () override |
bool | has_backup_data (void) 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) |
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 55 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 288 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 293 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 150 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 131 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 147 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 142 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 137 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 317 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 325 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 154 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 49 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 477 of file sil_board.cpp.
|
inline |
Definition at line 199 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
|
overridevirtual |
Implements rosflight_firmware::Board.
|
overridevirtual |
Implements rosflight_firmware::Board.
|
overridevirtual |
Implements rosflight_firmware::Board.
|
overridevirtual |
Implements rosflight_firmware::Board.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 472 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 256 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 191 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 44 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 465 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 464 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 466 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 469 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 468 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 470 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 283 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 261 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 146 of file sil_board.h.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 416 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 418 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 435 of file sil_board.cpp.
|
private |
Definition at line 454 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 177 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 172 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 402 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 368 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 398 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 408 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 384 of file sil_board.cpp.
|
private |
Definition at line 483 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 154 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 345 of file sil_board.cpp.
|
overridevirtual |
Implements rosflight_firmware::Board.
Definition at line 350 of file sil_board.cpp.
|
inlineoverridevirtual |
Implements rosflight_firmware::Board.
Definition at line 158 of file sil_board.h.
|
private |
Definition at line 87 of file sil_board.h.
|
private |
Definition at line 67 of file sil_board.h.
|
private |
Definition at line 68 of file sil_board.h.
|
private |
Definition at line 66 of file sil_board.h.
|
private |
Definition at line 90 of file sil_board.h.
|
private |
Definition at line 80 of file sil_board.h.
|
private |
Definition at line 78 of file sil_board.h.
|
private |
Definition at line 79 of file sil_board.h.
|
private |
Definition at line 89 of file sil_board.h.
|
private |
Definition at line 72 of file sil_board.h.
|
private |
Definition at line 70 of file sil_board.h.
|
private |
Definition at line 71 of file sil_board.h.
|
private |
Definition at line 112 of file sil_board.h.
|
private |
Definition at line 96 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 64 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 114 of file sil_board.h.
|
private |
Definition at line 60 of file sil_board.h.
|
private |
Definition at line 58 of file sil_board.h.
|
private |
Definition at line 122 of file sil_board.h.
|
private |
Definition at line 105 of file sil_board.h.
|
private |
Definition at line 101 of file sil_board.h.
|
private |
Definition at line 88 of file sil_board.h.
|
private |
Definition at line 76 of file sil_board.h.
|
private |
Definition at line 74 of file sil_board.h.
|
private |
Definition at line 75 of file sil_board.h.
|
private |
Definition at line 108 of file sil_board.h.
|
private |
Definition at line 100 of file sil_board.h.
|
private |
Definition at line 113 of file sil_board.h.
|
private |
Definition at line 103 of file sil_board.h.
|
private |
Definition at line 93 of file sil_board.h.
|
private |
Definition at line 119 of file sil_board.h.
|
private |
Definition at line 120 of file sil_board.h.
|
private |
Definition at line 121 of file sil_board.h.
|
private |
Definition at line 109 of file sil_board.h.
|
private |
Definition at line 92 of file sil_board.h.
|
private |
Definition at line 106 of file sil_board.h.
|
private |
Definition at line 104 of file sil_board.h.
|
private |
Definition at line 83 of file sil_board.h.
|
private |
Definition at line 84 of file sil_board.h.
|
private |
Definition at line 82 of file sil_board.h.
|
private |
Definition at line 94 of file sil_board.h.
|
private |
Definition at line 99 of file sil_board.h.