PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/tasks.h>
#include <px4_platform_common/workqueue.h>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <systemlib/err.h>
#include <parameters/param.h>
#include <lib/mixer/MixerGroup.hpp>
#include <version/version.h>
#include <nuttx/board.h>
#include <arch/chip/chip.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_pwm_output.h>
#include "uavcannode_main.hpp"
#include "indication_controller.hpp"
#include "sim_controller.hpp"
#include "resources.hpp"
#include "led.hpp"
#include "boot_app_shared.h"
Go to the source code of this file.
Classes | |
class | RestartRequestHandler |
Macros | |
#define | RESOURCE_DEBUG |
#define | resources(s) |
Functions | |
static void | cb_reboot (const uavcan::TimerEvent &) |
static void | signal_callback (void *arg) |
static void | print_usage () |
__EXPORT int | uavcannode_start (int argc, char *argv[]) |
__EXPORT int | uavcannode_main (int argc, char *argv[]) |
Variables | |
boot_app_shared_section app_descriptor_t | AppDescriptor |
RestartRequestHandler | restart_request_handler |
#define RESOURCE_DEBUG |
Definition at line 78 of file uavcannode_main.cpp.
#define resources | ( | s | ) |
Definition at line 80 of file uavcannode_main.cpp.
Referenced by UavcanNode::run(), and uavcannode_start().
|
static |
Definition at line 259 of file uavcannode_main.cpp.
Referenced by UavcanNode::cb_beginfirmware_update().
|
static |
Definition at line 499 of file uavcannode_main.cpp.
References uavcannode_start(), and warnx.
Referenced by uavcannode_main().
|
static |
Definition at line 343 of file uavcannode_main.cpp.
References UavcanNode::busevent_signal_trampoline().
Referenced by UavcanNode::run().
int uavcannode_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 555 of file uavcannode_main.cpp.
References errx, UavcanNode::instance(), UavcanNode::print_info(), print_usage(), and uavcannode_start().
Referenced by uavcannode_start().
__EXPORT int uavcannode_start | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 507 of file uavcannode_main.cpp.
References BootLoader, bootloader_app_shared_invalidate(), bootloader_app_shared_read(), bootloader_app_shared_t::bus_speed, bootloader_app_shared_t::node_id, param_find(), param_get(), resources, UavcanNode::start(), uavcannode_main(), and warnx.
Referenced by print_usage(), and uavcannode_main().
boot_app_shared_section app_descriptor_t AppDescriptor |
Definition at line 99 of file uavcannode_main.cpp.
RestartRequestHandler restart_request_handler |
Referenced by RestartRequestHandler::handleRestartRequest(), and UavcanNode::run().