|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "microRTPS_transport.h"#include <inttypes.h>#include <cstdio>#include <ctime>#include <pthread.h>#include <termios.h>#include <ucdr/microcdr.h>#include <px4_platform_common/px4_config.h>#include <px4_platform_common/getopt.h>#include <px4_platform_common/posix.h>#include <px4_platform_common/tasks.h>#include <px4_platform_common/time.h>#include <uORB/uORB.h>Go to the source code of this file.
Classes | |
| struct | baudtype |
| struct | options |
Macros | |
| #define | BUFFER_SIZE 1024 |
| #define | LOOPS -1 |
| #define | SLEEP_MS 1 |
| #define | BAUDRATE 460800 |
| #define | DEVICE "/dev/ttyACM0" |
| #define | POLL_MS 1 |
| #define | IP "127.0.0.1" |
| #define | DEFAULT_RECV_PORT 2019 |
| #define | DEFAULT_SEND_PORT 2020 |
Functions | |
| void * | send (void *data) |
| void | micrortps_start_topics (struct timespec &begin, uint64_t &total_read, uint64_t &received, int &loop) |
Variables | |
| struct options | _options |
| bool | _should_exit_task |
| Transport_node * | transport_node |
| #define BAUDRATE 460800 |
Definition at line 55 of file microRTPS_client.h.
| #define BUFFER_SIZE 1024 |
Definition at line 52 of file microRTPS_client.h.
| #define DEFAULT_RECV_PORT 2019 |
Definition at line 59 of file microRTPS_client.h.
| #define DEFAULT_SEND_PORT 2020 |
Definition at line 60 of file microRTPS_client.h.
| #define DEVICE "/dev/ttyACM0" |
Definition at line 56 of file microRTPS_client.h.
| #define IP "127.0.0.1" |
Definition at line 58 of file microRTPS_client.h.
| #define LOOPS -1 |
Definition at line 53 of file microRTPS_client.h.
| #define POLL_MS 1 |
Definition at line 57 of file microRTPS_client.h.
| #define SLEEP_MS 1 |
Definition at line 54 of file microRTPS_client.h.
| void micrortps_start_topics | ( | struct timespec & | begin, |
| uint64_t & | total_read, | ||
| uint64_t & | received, | ||
| int & | loop | ||
| ) |
| void* send | ( | void * | data | ) |
Referenced by __EXPORT::SPI::probe(), __EXPORT::I2C::probe(), Simulator::send_mavlink_message(), test_hott_telemetry(), and __EXPORT::I2C::transfer().
| struct options _options |
Definition at line 56 of file microRTPS_client_main.cpp.
Referenced by micrortps_start(), and parse_options().
| bool _should_exit_task |
Definition at line 54 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main().
| Transport_node* transport_node |
Definition at line 55 of file microRTPS_client_main.cpp.
Referenced by micrortps_client_main(), and micrortps_start().