APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/utility/RCOutput_Tap.h>
#include <AP_HAL_Empty/AP_HAL_Empty.h>
#include <AP_HAL_Empty/AP_HAL_Empty_Private.h>
#include "AP_HAL_VRBRAIN.h"
#include "AP_HAL_VRBRAIN_Namespace.h"
#include "HAL_VRBRAIN_Class.h"
#include "Scheduler.h"
#include "UARTDriver.h"
#include "Storage.h"
#include "RCInput.h"
#include "RCOutput.h"
#include "AnalogIn.h"
#include "Util.h"
#include "GPIO.h"
#include "I2CDevice.h"
#include "SPIDevice.h"
#include <stdlib.h>
#include <systemlib/systemlib.h>
#include <nuttx/config.h>
#include <unistd.h>
#include <stdio.h>
#include <pthread.h>
#include <poll.h>
#include <drivers/drv_hrt.h>
Go to the source code of this file.
Macros | |
#define | UARTA_DEFAULT_DEVICE "/dev/ttyACM0" |
#define | UARTB_DEFAULT_DEVICE "/dev/ttyS0" |
#define | UARTC_DEFAULT_DEVICE "/dev/ttyS2" |
#define | UARTD_DEFAULT_DEVICE "/dev/ttyS1" |
#define | UARTE_DEFAULT_DEVICE "/dev/null" |
#define | UARTF_DEFAULT_DEVICE "/dev/null" |
Functions | |
void | hal_vrbrain_set_priority (uint8_t priority) |
static void | loop_overtime (void *) |
static int | main_loop (int argc, char **argv) |
static void | usage (void) |
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0" |
Definition at line 109 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run(), and usage().
#define UARTB_DEFAULT_DEVICE "/dev/ttyS0" |
Definition at line 110 of file HAL_VRBRAIN_Class.cpp.
#define UARTC_DEFAULT_DEVICE "/dev/ttyS2" |
Definition at line 111 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run(), and usage().
#define UARTD_DEFAULT_DEVICE "/dev/ttyS1" |
Definition at line 112 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run(), and usage().
#define UARTE_DEFAULT_DEVICE "/dev/null" |
Definition at line 113 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run(), and usage().
#define UARTF_DEFAULT_DEVICE "/dev/null" |
Definition at line 114 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run(), and usage().
void hal_vrbrain_set_priority | ( | uint8_t | priority | ) |
Definition at line 157 of file HAL_VRBRAIN_Class.cpp.
Referenced by loop_overtime(), main_loop(), sem_post_boost(), and set_normal_priority().
|
static |
Definition at line 170 of file HAL_VRBRAIN_Class.cpp.
Referenced by main_loop().
|
static |
Definition at line 178 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run().
|
static |
Definition at line 248 of file HAL_VRBRAIN_Class.cpp.
Referenced by HAL_VRBRAIN::run().
bool _vrbrain_thread_should_exit = false |
Daemon exit flag
Definition at line 147 of file HAL_VRBRAIN_Class.cpp.
Referenced by VRBRAIN::VRBRAINScheduler::_io_thread(), VRBRAIN::VRBRAINScheduler::_storage_thread(), VRBRAIN::VRBRAINScheduler::_timer_thread(), VRBRAIN::VRBRAINScheduler::_uart_thread(), VRBRAIN::DeviceBus::bus_thread(), VRBRAIN::VRBRAINScheduler::delay(), main_loop(), HAL_VRBRAIN::run(), and VRBRAIN::VRBRAINUtil::run_debug_shell().
|
static |
Definition at line 45 of file HAL_VRBRAIN_Class.cpp.
|
static |
Handle of daemon task / thread
Definition at line 149 of file HAL_VRBRAIN_Class.cpp.
Referenced by hal_vrbrain_set_priority(), and HAL_VRBRAIN::run().
|
static |
Definition at line 176 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 47 of file HAL_VRBRAIN_Class.cpp.
const AP_HAL::HAL& hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
Definition at line 14 of file AC_PID_test.cpp.
|
static |
Definition at line 49 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 43 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 44 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 41 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 50 of file HAL_VRBRAIN_Class.cpp.
|
static |
Definition at line 42 of file HAL_VRBRAIN_Class.cpp.
|
static |
Daemon status flag
Definition at line 148 of file HAL_VRBRAIN_Class.cpp.
Referenced by main_loop(), and HAL_VRBRAIN::run().
|
static |
Referenced by HAL_VRBRAIN::run().
|
static |
|
static |
Referenced by HAL_VRBRAIN::run().
|
static |
Referenced by HAL_VRBRAIN::run().
|
static |
Referenced by HAL_VRBRAIN::run().
|
static |
Referenced by HAL_VRBRAIN::run().
|
static |
Definition at line 46 of file HAL_VRBRAIN_Class.cpp.
bool vrbrain_ran_overtime |
Definition at line 150 of file HAL_VRBRAIN_Class.cpp.
Referenced by VRBRAIN::VRBRAINScheduler::_run_timers(), VRBRAIN::VRBRAINScheduler::_timer_thread(), loop_overtime(), and main_loop().