Commit Graph

7 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa 7ac51f60d0 AP_HAL_Linux: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:42:40 +09:00
Andrew Tridgell 50e07ccad6 HAL_Linux: added bcast flag for udp broadcast 2015-08-19 20:03:20 +09:00
Andrew Tridgell a5f01c7ada HAL_Linux: sped up UDP transfers by about 25x
allow more than 1 packetised transfer per tick
2015-08-19 20:03:16 +09:00
Andrew Tridgell 81a3d439a3 HAL_Linux: allow startup before network bringup
this makes it possible to bootup ardupilot before the desired network
interface is available. This is very useful for when using 3G dongles
in aircraft
2015-08-19 20:03:13 +09:00
Andrew Tridgell bd1b35804a HAL_Linux: replace recvfrom with recv 2015-08-19 20:03:08 +09:00
Andrew Tridgell bbc8bdcef3 HAL_Linux: removed 0 timeout from sendto call 2015-08-19 20:03:06 +09:00
Staroselskii Georgii 9e6c4fe176 AP_HAL_Linux: added UDPDevice 2015-08-19 20:02:54 +09:00