8 Commits

Author SHA1 Message Date
TSC21
b3435dd1f5 microRTPS_transport: use preprocessor declarations to setup different build contexts for client and agent code 2019-05-22 11:49:02 +02:00
TSC21
57f1f01319 microRTPS_transport: replace printf() with PX4_ERR() 2019-02-15 08:54:58 +00:00
Gabriel Moreno
6bb0046407 urtps: fix UART speed setting to work in Linux
The previous code used the numeric baudrate as the speed argument
for cfsetispeed() and cfsetospeed(). This works in OSX and NuttX,
but is not portable.

This fix introduces a new method to convert baudrate to speed using
constants such as B115200.

Signed-off-by: Gabriel Moreno <gabrielm@cs.cmu.edu>
2019-02-15 08:54:58 +00:00
TSC21
3c246ce170 microRTPS: improve verbosity with the usage of px4_log types 2019-01-02 00:14:18 +00:00
TSC21
adbec90018 microRTPS: replace usleep() by px4_usleep() 2019-01-02 00:14:18 +00:00
David Riseborough
a32333994f The single line UART setup was replaced with a locked down configuration.
As per issue #9428, this code change locks down the termios configuration
for the UART to non-canonical, binary tx/rx, 8 bits, 1 stop bit, no parity.
2018-05-11 17:11:40 +02:00
ritul jasuja
13a3791c47 Send RTPS header and payload in one stream
This avoids assembling the header and payload on the receiver side
2018-02-14 12:04:35 +01:00
Mark Charlebois
049c769293 Converted cxx to cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00