#include <AP_UAVCAN.h>
|
| AP_UAVCAN () |
|
| ~AP_UAVCAN () |
|
uint8_t | register_gps_listener (AP_GPS_Backend *new_listener, uint8_t preferred_channel) |
|
uint8_t | register_gps_listener_to_node (AP_GPS_Backend *new_listener, uint8_t node) |
|
uint8_t | find_gps_without_listener (void) |
|
void | remove_gps_listener (AP_GPS_Backend *rem_listener) |
|
AP_GPS::GPS_State * | find_gps_node (uint8_t node) |
|
void | update_gps_state (uint8_t node) |
|
uint8_t | register_baro_listener (AP_Baro_Backend *new_listener, uint8_t preferred_channel) |
|
uint8_t | register_baro_listener_to_node (AP_Baro_Backend *new_listener, uint8_t node) |
|
void | remove_baro_listener (AP_Baro_Backend *rem_listener) |
|
Baro_Info * | find_baro_node (uint8_t node) |
|
uint8_t | find_smallest_free_baro_node () |
|
void | update_baro_state (uint8_t node) |
|
uint8_t | register_mag_listener (AP_Compass_Backend *new_listener, uint8_t preferred_channel) |
|
void | remove_mag_listener (AP_Compass_Backend *rem_listener) |
|
Mag_Info * | find_mag_node (uint8_t node, uint8_t sensor_id) |
|
uint8_t | find_smallest_free_mag_node () |
|
uint8_t | register_mag_listener_to_node (AP_Compass_Backend *new_listener, uint8_t node) |
|
void | update_mag_state (uint8_t node, uint8_t sensor_id) |
|
uint8_t | register_BM_bi_listener_to_id (AP_BattMonitor_Backend *new_listener, uint8_t id) |
|
void | remove_BM_bi_listener (AP_BattMonitor_Backend *rem_listener) |
|
BatteryInfo_Info * | find_bi_id (uint8_t id) |
|
uint8_t | find_smallest_free_bi_id () |
|
void | update_bi_state (uint8_t id) |
|
void | SRV_sem_take () |
|
void | SRV_sem_give () |
|
bool | led_out_sem_take () |
|
void | led_out_sem_give () |
|
void | led_out_send () |
|
void | SRV_send_servos () |
|
void | SRV_send_esc () |
|
void | do_cyclic (void) |
|
bool | try_init (void) |
|
void | SRV_set_safety_pwm (uint32_t chmask, uint16_t pulse_len) |
|
void | SRV_set_failsafe_pwm (uint32_t chmask, uint16_t pulse_len) |
|
void | SRV_force_safety_on (void) |
|
void | SRV_force_safety_off (void) |
|
void | SRV_arm_actuators (bool arm) |
|
void | SRV_write (uint16_t pulse_len, uint8_t ch) |
|
void | SRV_push_servos (void) |
|
bool | led_write (uint8_t led_index, uint8_t red, uint8_t green, uint8_t blue) |
|
void | set_parent_can_mgr (AP_HAL::CANManager *parent_can_mgr) |
|
Definition at line 50 of file AP_UAVCAN.h.
◆ AP_UAVCAN()
◆ ~AP_UAVCAN()
AP_UAVCAN::~AP_UAVCAN |
( |
| ) |
|
◆ do_cyclic()
void AP_UAVCAN::do_cyclic |
( |
void |
| ) |
|
◆ find_baro_node()
Baro_Info* AP_UAVCAN::find_baro_node |
( |
uint8_t |
node | ) |
|
◆ find_bi_id()
◆ find_gps_node()
◆ find_gps_without_listener()
uint8_t AP_UAVCAN::find_gps_without_listener |
( |
void |
| ) |
|
◆ find_mag_node()
Mag_Info* AP_UAVCAN::find_mag_node |
( |
uint8_t |
node, |
|
|
uint8_t |
sensor_id |
|
) |
| |
◆ find_smallest_free_baro_node()
uint8_t AP_UAVCAN::find_smallest_free_baro_node |
( |
| ) |
|
◆ find_smallest_free_bi_id()
uint8_t AP_UAVCAN::find_smallest_free_bi_id |
( |
| ) |
|
◆ find_smallest_free_mag_node()
uint8_t AP_UAVCAN::find_smallest_free_mag_node |
( |
| ) |
|
◆ get_can_driver()
uavcan::ICanDriver* AP_UAVCAN::get_can_driver |
( |
| ) |
|
|
private |
◆ get_node()
uavcan::Node<0>* AP_UAVCAN::get_node |
( |
| ) |
|
|
private |
◆ get_system_clock()
uavcan::ISystemClock& AP_UAVCAN::get_system_clock |
( |
| ) |
|
|
private |
◆ get_uavcan()
static AP_UAVCAN* AP_UAVCAN::get_uavcan |
( |
uint8_t |
iface | ) |
|
|
static |
◆ led_out_sem_give()
void AP_UAVCAN::led_out_sem_give |
( |
| ) |
|
◆ led_out_sem_take()
bool AP_UAVCAN::led_out_sem_take |
( |
| ) |
|
◆ led_out_send()
void AP_UAVCAN::led_out_send |
( |
| ) |
|
◆ led_write()
bool AP_UAVCAN::led_write |
( |
uint8_t |
led_index, |
|
|
uint8_t |
red, |
|
|
uint8_t |
green, |
|
|
uint8_t |
blue |
|
) |
| |
◆ register_baro_listener()
uint8_t AP_UAVCAN::register_baro_listener |
( |
AP_Baro_Backend * |
new_listener, |
|
|
uint8_t |
preferred_channel |
|
) |
| |
◆ register_baro_listener_to_node()
uint8_t AP_UAVCAN::register_baro_listener_to_node |
( |
AP_Baro_Backend * |
new_listener, |
|
|
uint8_t |
node |
|
) |
| |
◆ register_BM_bi_listener_to_id()
◆ register_gps_listener()
uint8_t AP_UAVCAN::register_gps_listener |
( |
AP_GPS_Backend * |
new_listener, |
|
|
uint8_t |
preferred_channel |
|
) |
| |
◆ register_gps_listener_to_node()
uint8_t AP_UAVCAN::register_gps_listener_to_node |
( |
AP_GPS_Backend * |
new_listener, |
|
|
uint8_t |
node |
|
) |
| |
◆ register_mag_listener()
uint8_t AP_UAVCAN::register_mag_listener |
( |
AP_Compass_Backend * |
new_listener, |
|
|
uint8_t |
preferred_channel |
|
) |
| |
◆ register_mag_listener_to_node()
uint8_t AP_UAVCAN::register_mag_listener_to_node |
( |
AP_Compass_Backend * |
new_listener, |
|
|
uint8_t |
node |
|
) |
| |
◆ remove_baro_listener()
◆ remove_BM_bi_listener()
◆ remove_gps_listener()
◆ remove_mag_listener()
◆ set_parent_can_mgr()
void AP_UAVCAN::set_parent_can_mgr |
( |
AP_HAL::CANManager * |
parent_can_mgr | ) |
|
|
inline |
◆ SRV_arm_actuators()
void AP_UAVCAN::SRV_arm_actuators |
( |
bool |
arm | ) |
|
◆ SRV_force_safety_off()
void AP_UAVCAN::SRV_force_safety_off |
( |
void |
| ) |
|
◆ SRV_force_safety_on()
void AP_UAVCAN::SRV_force_safety_on |
( |
void |
| ) |
|
◆ SRV_push_servos()
void AP_UAVCAN::SRV_push_servos |
( |
void |
| ) |
|
◆ SRV_sem_give()
void AP_UAVCAN::SRV_sem_give |
( |
| ) |
|
◆ SRV_sem_take()
void AP_UAVCAN::SRV_sem_take |
( |
| ) |
|
◆ SRV_send_esc()
void AP_UAVCAN::SRV_send_esc |
( |
| ) |
|
◆ SRV_send_servos()
void AP_UAVCAN::SRV_send_servos |
( |
| ) |
|
◆ SRV_set_failsafe_pwm()
void AP_UAVCAN::SRV_set_failsafe_pwm |
( |
uint32_t |
chmask, |
|
|
uint16_t |
pulse_len |
|
) |
| |
◆ SRV_set_safety_pwm()
void AP_UAVCAN::SRV_set_safety_pwm |
( |
uint32_t |
chmask, |
|
|
uint16_t |
pulse_len |
|
) |
| |
◆ SRV_write()
void AP_UAVCAN::SRV_write |
( |
uint16_t |
pulse_len, |
|
|
uint8_t |
ch |
|
) |
| |
◆ try_init()
bool AP_UAVCAN::try_init |
( |
void |
| ) |
|
◆ update_baro_state()
void AP_UAVCAN::update_baro_state |
( |
uint8_t |
node | ) |
|
◆ update_bi_state()
void AP_UAVCAN::update_bi_state |
( |
uint8_t |
id | ) |
|
◆ update_gps_state()
void AP_UAVCAN::update_gps_state |
( |
uint8_t |
node | ) |
|
◆ update_mag_state()
void AP_UAVCAN::update_mag_state |
( |
uint8_t |
node, |
|
|
uint8_t |
sensor_id |
|
) |
| |
◆ _baro_listener_to_node
◆ _baro_listeners
◆ _baro_node_state
◆ _baro_node_taken
◆ _baro_nodes
◆ _bi_BM_listener_to_id
◆ _bi_BM_listeners
◆ _bi_id
◆ _bi_id_state
◆ _bi_id_taken
◆ _esc_bm
AP_Int32 AP_UAVCAN::_esc_bm |
|
private |
◆ _gps_listener_to_node
◆ _gps_listeners
◆ _gps_node_state
◆ _gps_node_taken
◆ _gps_nodes
◆ _initialized
bool AP_UAVCAN::_initialized |
|
private |
◆ _led_conf
struct { ... } AP_UAVCAN::_led_conf |
◆ _led_out_sem
◆ _mag_listener_sensor_ids
◆ _mag_listener_to_node
◆ _mag_listeners
◆ _mag_node_max_sensorid_count
◆ _mag_node_state
◆ _mag_node_taken
◆ _mag_nodes
◆ _node
uavcan::Node<0>* AP_UAVCAN::_node = nullptr |
|
private |
◆ _node_allocator
◆ _parent_can_mgr
AP_HAL::CANManager* AP_UAVCAN::_parent_can_mgr |
|
private |
◆ _servo_bm
AP_Int32 AP_UAVCAN::_servo_bm |
|
private |
◆ _servo_rate_hz
AP_Int16 AP_UAVCAN::_servo_rate_hz |
|
private |
◆ _SRV_armed
uint8_t AP_UAVCAN::_SRV_armed |
|
private |
◆ _SRV_conf
◆ _SRV_last_send_us
uint32_t AP_UAVCAN::_SRV_last_send_us |
|
private |
◆ _SRV_safety
uint8_t AP_UAVCAN::_SRV_safety |
|
private |
◆ _uavcan_i
uint8_t AP_UAVCAN::_uavcan_i |
|
private |
◆ _uavcan_node
AP_Int8 AP_UAVCAN::_uavcan_node |
|
private |
◆ broadcast_enabled
bool AP_UAVCAN::broadcast_enabled |
◆ devices
◆ devices_count
uint8_t AP_UAVCAN::devices_count |
◆ esc_pending
bool AP_UAVCAN::esc_pending |
◆ failsafe_pulse
uint16_t AP_UAVCAN::failsafe_pulse |
◆ last_update
uint64_t AP_UAVCAN::last_update |
◆ pulse
uint16_t AP_UAVCAN::pulse |
◆ safety_pulse
uint16_t AP_UAVCAN::safety_pulse |
◆ servo_pending
bool AP_UAVCAN::servo_pending |
◆ SRV_sem
◆ var_info
The documentation for this class was generated from the following file: