Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | esc32_parameter |
struct | esc32 |
Functions | |
void | esc32_init (void) |
void | esc32_periodic (void) |
void | esc32_event (void) |
Variables | |
struct esc32 | esc32 |
Definition in file esc32.h.
struct esc32_parameter |
struct esc32 |
Data Fields | ||
---|---|---|
bool | data_available | data updated |
float | energy | accumulated energy |
struct esc32_parameter | params | filtered data from the esc |
float | power | computed battery power |
enum binaryCommands |
enum binaryValues |
enum configParameters |
void esc32_event | ( | void | ) |
Definition at line 345 of file esc32.c.
References esc32_private::dev, esc32_parse_msg(), esc32_priv, esc32_private::msg_available, parse_esc32(), uart_char_available(), and uart_getch().
void esc32_init | ( | void | ) |
Definition at line 235 of file esc32.c.
References esc32_private::cmd_seq_id, DefaultPeriodic, esc32_private::dev, esc32_msg_send(), esc32_priv, and register_periodic_telemetry().
void esc32_periodic | ( | void | ) |
Definition at line 255 of file esc32.c.
References BINARY_COMMAND_ARM, BINARY_COMMAND_DUTY, BINARY_COMMAND_START, BINARY_COMMAND_STOP, BINARY_COMMAND_TELEM_RATE, BINARY_COMMAND_TELEM_VALUE, BINARY_VALUE_AMPS, BINARY_VALUE_RPM, BINARY_VALUE_VOLTS_BAT, BINARY_VALUE_VOLTS_MOTOR, esc32_private::dev, esc32_priv, esc32_send_command(), ESC32_TELEMETRY_RATE, esc32_private::initialized, and uart_put_byte().