dRonin
adbada4
dRonin firmware
|
Files | |
file | logging.c |
Forward a set of UAVObjects when updated out a PIOS_COM port. | |
Macros | |
#define | STACK_SIZE_BYTES 1200 |
#define | TASK_PRIORITY PIOS_THREAD_PRIO_LOW |
#define | LOGGING_PERIOD_MS 100 |
Functions | |
static void | loggingTask (void *parameters) |
static int32_t | send_data (uint8_t *data, int32_t length) |
static int32_t | send_data_nonblock (void *ctx, uint8_t *data, int32_t length) |
static uint16_t | get_minimum_logging_period () |
static void | unregister_object (UAVObjHandle obj) |
static void | register_object (UAVObjHandle obj) |
static void | register_default_profile () |
static void | logAll (UAVObjHandle obj) |
static void | logSettings (UAVObjHandle obj) |
static void | writeHeader () |
static void | updateSettings () |
int32_t | LoggingInitialize (void) |
int32_t | LoggingStart (void) |
MODULE_INITCALL (LoggingInitialize, LoggingStart) | |
static void | obj_updated_callback (const UAVObjEvent *ev, void *cb_ctx, void *uavo_data, int uavo_len) |
Callback for adding an object to the logging queue. More... | |
Variables | |
const char | DIGITS [16] = "0123456789abcdef" |
static UAVTalkConnection | uavTalkCon |
static struct pios_thread * | loggingTaskHandle |
static bool | module_enabled |
static volatile LoggingSettingsData | settings |
static LoggingStatsData | loggingData |
static uintptr_t | logging_com_id |
static uint32_t | written_bytes |
static bool | destination_onboard_flash |
#define TASK_PRIORITY PIOS_THREAD_PRIO_LOW |
|
static |
|
static |
int32_t LoggingInitialize | ( | void | ) |
int32_t LoggingStart | ( | void | ) |
|
static |
MODULE_INITCALL | ( | LoggingInitialize | , |
LoggingStart | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |