PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "microRTPS_transport.h"
#include "microRTPS_client.h"
#include <inttypes.h>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <termios.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/cli.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/tasks.h>
#include <px4_platform_common/time.h>
Go to the source code of this file.
Functions | |
__EXPORT int | micrortps_client_main (int argc, char *argv[]) |
static void | usage (const char *name) |
static int | parse_options (int argc, char *argv[]) |
static int | micrortps_start (int argc, char *argv[]) |
Variables | |
static int | _rtps_task = -1 |
bool | _should_exit_task = false |
Transport_node * | transport_node = nullptr |
struct options | _options |
int micrortps_client_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 183 of file microRTPS_client_main.cpp.
References _rtps_task, _should_exit_task, micrortps_start(), transport_node, and usage().
|
static |
Definition at line 118 of file microRTPS_client_main.cpp.
References _options, _rtps_task, options::baudrate, options::device, options::ip, micrortps_start_topics(), parse_options(), options::poll_ms, options::recv_port, options::send_port, options::sleep_ms, options::transport, transport_node, options::UART, and options::UDP.
Referenced by micrortps_client_main().
|
static |
Definition at line 78 of file microRTPS_client_main.cpp.
References _options, options::baudrate, options::device, options::ip, options::loops, options::poll_ms, options::recv_port, options::send_port, options::sleep_ms, options::transport, options::UART, options::UDP, and usage().
Referenced by micrortps_start().
|
static |
Definition at line 58 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main(), and parse_options().
struct options _options |
Definition at line 56 of file microRTPS_client_main.cpp.
Referenced by micrortps_start(), and parse_options().
|
static |
Definition at line 53 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main(), and micrortps_start().
bool _should_exit_task = false |
Definition at line 54 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main().
Transport_node* transport_node = nullptr |
Definition at line 55 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main(), and micrortps_start().