35 #include "microRTPS_transport.h" 43 #include <ucdr/microcdr.h> 51 #define BUFFER_SIZE 1024 52 #define UPDATE_TIME_MS 0 55 #define BAUDRATE B460800 56 #define BAUDRATE_VAL 460800 58 #define B460800 460800 61 #define B921600 921600 63 #define DEVICE "/dev/ttyACM0" 65 #define DEFAULT_RECV_PORT 2019 66 #define DEFAULT_SEND_PORT 2020 68 void *send(
void *data);
69 void micrortps_start_topics(
struct timespec &begin,
int &total_read, uint32_t &received,
int &loop);
77 enum class eTransports {
81 eTransports transport = options::eTransports::UART;
83 int update_time_ms = UPDATE_TIME_MS;
85 int sleep_ms = SLEEP_MS;
86 struct baudtype baudrate = {.code = BAUDRATE, .val = BAUDRATE_VAL};
87 int poll_ms = POLL_MS;
88 uint16_t recv_port = DEFAULT_RECV_PORT;
89 uint16_t send_port = DEFAULT_SEND_PORT;
93 extern bool _should_exit_task;
Definition: microRTPS_transport.h:40
Definition: microRTPS_client.h:76
Configuration flags used in code.
Includes POSIX-like functions for virtual character devices.
Definition: microRTPS_client.h:71
Namespace encapsulating all device framework classes, functions and data.
Definition: CDev.cpp:47
API for the uORB lightweight object broker.
Thread safe version of getopt.