PX4 Firmware
PX4 Autopilot Software http://px4.io
options Struct Reference

#include <microRTPS_client.h>

Collaboration diagram for options:

Public Types

enum  eTransports { eTransports::UART, eTransports::UDP }
 

Public Attributes

eTransports transport = options::eTransports::UART
 
char device [64] = DEVICE
 
char ip [16] = IP
 
uint16_t recv_port = DEFAULT_RECV_PORT
 
uint16_t send_port = DEFAULT_SEND_PORT
 
uint32_t sleep_ms = SLEEP_MS
 
uint32_t baudrate = BAUDRATE
 
uint32_t poll_ms = POLL_MS
 
int loops = LOOPS
 

Detailed Description

Definition at line 70 of file microRTPS_client.h.

Member Enumeration Documentation

◆ eTransports

enum options::eTransports
strong
Enumerator
UART 
UDP 

Definition at line 71 of file microRTPS_client.h.

Member Data Documentation

◆ baudrate

uint32_t options::baudrate = BAUDRATE

Definition at line 81 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ device

char options::device[64] = DEVICE

Definition at line 76 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ ip

char options::ip[16] = IP

Definition at line 77 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ loops

int options::loops = LOOPS

Definition at line 83 of file microRTPS_client.h.

Referenced by parse_options().

◆ poll_ms

uint32_t options::poll_ms = POLL_MS

Definition at line 82 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ recv_port

uint16_t options::recv_port = DEFAULT_RECV_PORT

Definition at line 78 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ send_port

uint16_t options::send_port = DEFAULT_SEND_PORT

Definition at line 79 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ sleep_ms

uint32_t options::sleep_ms = SLEEP_MS

Definition at line 80 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().

◆ transport

Definition at line 75 of file microRTPS_client.h.

Referenced by micrortps_start(), and parse_options().


The documentation for this struct was generated from the following file: